+386
Slovenia phone numbers
031 234 567
International +386 31 234 567, E.164 +38631234567
The numbering plan of Slovenia: formats, lengths, the regular expression for each line type and the prefix blocks allocated to each carrier, as ITU publishes it. A pattern says what a number looks like and where it was allocated; whether it is in service, and who serves it today, is a different question (below).
At a glance
- Country code
- +386
- Exit code
- 00
- Trunk prefix
- 0
- Mobile digits
- 8
- Fixed-line digits
- 8
- Number portability
- yes
- Carriers on record
- 9
How to dial a number in Slovenia from anywhere: the dialling helper.
| Telekom Slovenije | 5 |
|---|---|
| A1 | 4 |
| Novatel | 3 |
| Telemach | 2 |
| Compatel | 1 |
| 4 other operators | 4 |
prefix blocks allocated, from the published records; a block is a prefix at the plan's allocation length
Check a number
Valid mobile number in Slovenia.
| Country | Slovenia numbering plan |
|---|---|
| Line type | Mobile |
| Carrier the block was allocated to | Telekom Slovenije |
| E.164 | +38631234567 |
| International | +386 31 234 567 |
| National | 031 234 567 |
| RFC 3966 | tel:+386-31-234-567 |
Test a pattern
Tick the line types you accept, copy the combined pattern, and paste numbers to see which range each one falls in. Numbers are reduced to their national digits first (no spaces, no +386, no trunk prefix 0); nothing leaves your browser.
^(?:65(?:[178]\d|5[56]|6[01])\d{4}|(?:[37][01]|4[013]|51|6[489])\d{6}|(?:[1-357][2-8]|4[24-8])\d{6})$| Number | National digits | Matches |
|---|---|---|
| 031 234 567 | 31234567 | Mobile |
| (01) 234 56 78 | 12345678 | Fixed line |
| 080 123456 | 80123456 | not in the ticked types |
| 0590 12345 | 59012345 | not in the ticked types |
Need another country, or the pattern as code in your language? Open the regex builder.
Walk the prefixes
Type the first digits of a number in national form, or tap them: the operators holding blocks under those digits, then the block a full prefix falls in. 19 blocks held by 9 operators are on record.
Type the first digits of a number in national form.
In full
Cheat sheet
| Country code | +386 |
|---|---|
| International exit code (dialling out) | 00 (the plan also allows 00|10(?:22|66|88|99)) |
| Trunk prefix (national dialling) | 0 |
| Mobile number length (national digits) | 8 |
| Fixed-line number length (national digits) | 8 (7 dialled locally) |
| E.164 example | +38631234567 |
| RFC 3966 (tel: URI) | tel:+386-31-234-567 |
| Mobile number portability | Yes |
Line types and their regular expressions
Match each pattern against the national significant number: digits only, without the trunk prefix 0 and without +386. The patterns follow the national numbering plan and are anchored here.
| Line type | National digits | Example, national | Example, E.164 |
|---|---|---|---|
| Mobile | 8 | 031 234 567 | +38631234567 |
| Fixed line | 8 | (01) 234 56 78 | +38612345678 |
| Toll-free | 6 to 8 | 080 123456 | +38680123456 |
| VoIP | 8 | 0590 12345 | +38659012345 |
| Premium-rate | 5 to 8 | 090 123456 | +38690123456 |
Mobile, 8 digits
^(?:65(?:[178]\d|5[56]|6[01])\d{4}|(?:[37][01]|4[013]|51|6[489])\d{6})$Fixed line, 8 digits
^(?:(?:[1-357][2-8]|4[24-8])\d{6})$Toll-free, 6 to 8 digits
^(?:80\d{4,6})$VoIP, 8 digits
^(?:(?:59\d\d|8(?:1(?:[67]\d|8[0-589])|2(?:0\d|2[0-37-9]|8[0-2489])|3[389]\d))\d{4})$Carrier prefix blocks
The operator each prefix block was allocated to, in national form, from the published allocation records for +386. Numbers are portable, so this is the original allocation, not necessarily the carrier serving a number today.
| Operator | Line type | Prefix blocks | Ranges |
|---|---|---|---|
| Telekom Slovenije | Mobile | 5 | 031, 041, 043, 051, 06555 |
| A1 | Mobile | 4 | 030, 040, 068–069 |
| Novatel | Mobile | 3 | 0657–0658, 0695 |
| Telemach | Mobile | 2 | 070–071 |
| Compatel | Mobile | 1 | 06910 |
| Sloexport | Mobile | 1 | 06556 |
| SoftNet | Mobile | 1 | 0656 |
| SŽ - Infrastruktura | Mobile | 1 | 0651 |
| T-2 | Mobile | 1 | 064 |
Questions developers ask
- How many digits does a phone number in Slovenia have?
- Mobile numbers have 8 national digits. Fixed line numbers have 8 national digits (7 when dialled locally). That is the national number, without the country code +386 and without the trunk prefix 0.
- What is the country code for Slovenia?
- +386. From abroad, dial your own exit code, then 386, then the national number without its trunk prefix 0. From inside Slovenia, the exit code for international calls is 00.
- Which prefixes are mobile numbers in Slovenia?
- Mobile numbers start with 03, 04, 05, 06 or 07 in national form; the mobile regular expression on this page gives the exact ranges (example: 031 234 567). The carrier table shows which prefix blocks were allocated to which operator.
- Can a mobile number in Slovenia be ported to another carrier?
- Yes. Slovenia has mobile number portability, so a prefix tells you the carrier a number was originally allocated to, not necessarily the one serving it today. Only a live carrier lookup (an HLR or MNP query) answers that.