Skip to content

+387

Bosnia and Herzegovina phone numbers

061 123 456

International +387 61 123 456, E.164 +38761123456

The numbering plan of Bosnia and Herzegovina: 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
+387
Exit code
00
Trunk prefix
0
Mobile digits
8 or 9
Fixed-line digits
8
Number portability
yes
Carriers on record
3

How to dial a number in Bosnia and Herzegovina from anywhere: the dialling helper.

Mobile numbers start with:060061062063064065066067
Mobile prefix blocks by operator
BH Telecom
3
m:tel
3
HT ERONET
2

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 Bosnia and Herzegovina.

+387
country code
61
network code
123456
subscriber number
CountryBosnia and Herzegovina numbering plan
Line typeMobile
Carrier the block was allocated toBH Telecom
E.164+38761123456
International+387 61 123 456
National061 123 456
RFC 3966tel:+387-61-123-456

Source: National numbering plan: Bosnia and Herzegovina (ITU)

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 +387, no trunk prefix 0); nothing leaves your browser.

Line types to accept
^(?:6040\d{5}|6(?:03|[1-356]|44|7\d)\d{6}|(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\d{5})$
NumberNational digitsMatches
061 123 45661123456Mobile
030 212-34530212345Fixed line
080 123 45680123456not in the ticked types
082 123 45682123456not 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. 8 blocks held by 3 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+387
International exit code (dialling out)00
Trunk prefix (national dialling)0
Mobile number length (national digits)8 or 9
Fixed-line number length (national digits)8 (6 dialled locally)
E.164 example+38761123456
RFC 3966 (tel: URI)tel:+387-61-123-456
Mobile number portabilityYes

Line types and their regular expressions

Match each pattern against the national significant number: digits only, without the trunk prefix 0 and without +387. The patterns follow the national numbering plan and are anchored here.

Line typeNational digitsExample, nationalExample, E.164
Mobile8 or 9061 123 456+38761123456
Fixed line8030 212-345+38730212345
Toll-free8080 123 456+38780123456
Shared cost8082 123 456+38782123456
Premium-rate8090 123 456+38790123456
UAN8070 341 234+38770341234

Mobile, 8 or 9 digits

^(?:6040\d{5}|6(?:03|[1-356]|44|7\d)\d{6})$

Fixed line, 8 digits

^(?:(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\d{5})$

Toll-free, 8 digits

^(?:8[08]\d{6})$

Shared cost, 8 digits

^(?:8[12]\d{6})$

Premium-rate, 8 digits

^(?:9[0246]\d{6})$

UAN, 8 digits

^(?:703[235]0\d{3}|70(?:2[0-5]|3[0146]|[56]0)\d{4})$

Carrier prefix blocks

The operator each prefix block was allocated to, in national form, from the published allocation records for +387. Numbers are portable, so this is the original allocation, not necessarily the carrier serving a number today.

OperatorLine typePrefix blocksRanges
BH TelecomMobile3060–062
m:telMobile3065–067
HT ERONETMobile2063–064

Questions developers ask

How many digits does a phone number in Bosnia and Herzegovina have?
Mobile numbers have 8 or 9 national digits. Fixed line numbers have 8 national digits (6 when dialled locally). That is the national number, without the country code +387 and without the trunk prefix 0.
What is the country code for Bosnia and Herzegovina?
+387. From abroad, dial your own exit code, then 387, then the national number without its trunk prefix 0. From inside Bosnia and Herzegovina, the exit code for international calls is 00.
Which prefixes are mobile numbers in Bosnia and Herzegovina?
Mobile numbers start with 060, 061, 062, 063, 064, 065, 066 or 067 in national form; the mobile regular expression on this page gives the exact ranges (example: 061 123 456). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Bosnia and Herzegovina be ported to another carrier?
Yes. Bosnia and Herzegovina 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.