Phone number validator
Latvia phone number validator
A number is valid in Latvia when the digits after +371 match one of 5 number types, with 8 digits in all. A mobile number starts 2.
Check a number in Latvia
Write the number with +371 or the local way. The check runs in your browser and nothing is sent.
Rules by number type
Digits are counted after the country code. Starts are the first digits the plan allows for the type.
| Type | Starts with | Digits | Sample |
|---|---|---|---|
| Mobile | 2 | 8 | +371 21 234 567 |
| Landline | 6 | 8 | +371 60 459 663 |
| Toll free | 80 | 8 | +371 80 595 289 |
| Premium rate | 90 | 8 | +371 90 802 063 |
| Shared cost | 81 | 8 | +371 81 544 875 |
Test numbers and what the check says
Every result below comes from the same check as the validator above. Use a number to see how it fails.
| Number | Case | Result |
|---|---|---|
| +371 21 234 567 | Example number | Passes Valid mobile number. |
| +371 60 459 663 | Landline range | Passes Valid landline number. |
| +371 80 595 289 | Toll free range | Passes Valid toll-free number. |
| +371 90 802 063 | Premium rate range | Passes Valid premium-rate number. |
| +371 2123456 | One digit short | Fails Too short: 7 digits follow the country code, where Latvia allows 8 digits. |
| +371 212345672 | Too many digits | Fails Too long: 9 digits follow the country code, where Latvia allows 8 digits. |
| +371 01 234 567 | Right length, unused start | Fails 8 digits suits mobile, landline, toll-free, premium-rate or shared-cost numbers, but a number starting 01 is not in any of those ranges. |
Test numbers are computed from the rules and never dialled. A passing one proves the pattern, not that someone owns it.
Mistakes to look for
| Mistake | Example | Result |
|---|---|---|
| Typing 00 and a plus sign together. 00 is the dialled form of the plus sign. One of the two is enough, never both. | +0037121234567 | It starts with +003, but numbers in Latvia start with +371. |
Questions about Latvia numbers
- What makes a phone number valid in Latvia?
- After the country code, its digits must match the pattern of at least one number type in the plan: mobile, landline, toll free, premium rate or shared cost. The count is 8 digits in all, and each type has its own count and its own starting digits, shown in the table above.
- How do I write a mobile number for Latvia?
- A mobile number is 8 digits long after +371 and starts 2. Written for international use it reads +371 21 234 567; the E.164 form for storing is +37121234567.
- Does a valid result mean the number is in service?
- No. The check reads the numbering plan only: it never rings the number and cannot tell whether a subscriber holds it today. It rules out numbers that cannot exist.
Validate numbers in bulk
The page checks one number at a time. The phone lookup does the same check for any country from the API, and reports the number type the numbering plan assigns with each result.
| Product | Credits | Docs |
|---|---|---|
| Phone Numbering-Plan Validation | 1 credit per valid number | API docs |
Latvia country code and dialling · Phone number formatter · Validate a number from any country
Rules: version 1.13.15 of libphonenumber-js, published 8 October 2026, built on Google's libphonenumber metadata. LookValid is not connected to Google or to any phone company named here.