---
title: "Libya phone number validator"
url: "https://lookvalid.com/tools/phone-number-validator/libya.md"
canonical_url: "https://lookvalid.com/tools/phone-number-validator/libya"
last_updated: "2026-10-30"
type: "tool"
summary: "Validate Libya phone numbers: 9 digits behind +218, 6 worked test numbers and a free validator."
related: ["https://lookvalid.com/country-code/libya.md", "https://lookvalid.com/tools/phone-format.md", "https://lookvalid.com/tools/phone-number-validator.md"]
---

# Libya phone number validator

> **For AI agents:** the complete index of LookValid pages is [llms.txt](https://lookvalid.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Validate Libya phone numbers: 9 digits behind +218, 6 worked test numbers and a free validator.

A number is valid in Libya when the digits after +218 match one of 2 number types, with 9 digits in all. A mobile number starts 91 to 96.

## Rules by number type

| Type | Starts with | Digits | Sample |
| --- | --- | --- | --- |
| Mobile | 91 to 96 | 9 | +218 91 2345678 |
| Landline | 2, 3, 4, 5, 6, 7 or 8 (some ranges only) | 9 | +218 20 5921862 |

## Test numbers

| Number | Case | Result |
| --- | --- | --- |
| +218 91 2345678 | Example number | Passes: Valid mobile number. |
| +218 20 5921862 | Landline range | Passes: Valid landline number. |
| 0912345678 | Written the local way | Passes: Valid mobile number. |
| +218 91234567 | One digit short | Fails: Too short: 8 digits follow the country code, where Libya allows 9 digits. |
| +218 9123456789 | Too many digits | Fails: Too long: 10 digits follow the country code, where Libya allows 9 digits. |
| +218 11 2345678 | Right length, unused start | Fails: 9 digits suits mobile or landline numbers, but a number starting 11 is not in any of those ranges. |

## Mistakes to look for

**Keeping the 0 after +218.** The 0 only exists for calls made inside Libya. Behind the plus sign and the country code it has to go; a strict system will refuse the number as typed. Example: +218 0912345678. Result: Valid mobile number. The 0 after +218 is only for local dialling and is dropped from the international form. Store it as +218912345678.

**Typing 00 and a plus sign together.** 00 is the dialled form of the plus sign. One of the two is enough, never both. Example: +00218912345678. Result: It starts with +002, but numbers in Libya start with +218.

## Questions

**What makes a phone number valid in Libya?**

After the country code, its digits must match the pattern of at least one number type in the plan: mobile or landline. The count is 9 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 Libya?**

A mobile number is 9 digits long after +218 and starts 91 to 96. Written for international use it reads +218 91 2345678; the E.164 form for storing is +218912345678.

**Does the leading 0 count when I validate a number?**

Written the local way, it is removed before the check, so 0912345678 and +218912345678 give the same result. Behind a plus sign the check still accepts it, with a note to store the number without it.

**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.

Data: version 1.13.15 of the libphonenumber-js package, published 8 October 2026, which carries Google's libphonenumber rules. Test numbers are computed from those rules and never dialled. See the [Libya country code page](https://lookvalid.com/country-code/libya.md), the [phone format tool](https://lookvalid.com/tools/phone-format.md) and the [phone number validator](https://lookvalid.com/tools/phone-number-validator.md).

## Related

- [Libya country code +218](https://lookvalid.com/country-code/libya.md)
- [Phone Number Format by Country and E.164](https://lookvalid.com/tools/phone-format.md)
- [Free Phone Number Validator: Check This Number](https://lookvalid.com/tools/phone-number-validator.md)
