Postal code
Slovenia postal codes
Slovenia postal codes have the format #### (4 digits), for example 4000. zipcodestack has 647 postal codes for Slovenia.
- Format
- ####
- Example
- 4000
- Codes in our database
- 647
- Local name
- poštna številka
Slovenia postal code format
| Pattern | #### (# digit, @ letter) |
|---|---|
| Examples | 4000, 1001, 2500 |
| Regex | ^(?:\d{4})$ |
Format and regex from Google's address metadata (libaddressinput). The regex checks the shape of a code, not whether it exists.
Postal Codes of the largest cities
Neighbouring countries
Slovenia postal codes: FAQ
What is the postal code format in Slovenia?
Slovenia postal codes follow the pattern
#### (# = digit, @ = letter), i.e. 4 digits. Examples: 4000, 1001, 2500.What regex validates Slovenia postal codes?
^(?:\d{4})$ matches the official format (from Google's address metadata). It checks the shape only; whether a code exists needs a lookup in a postal code database such as the zipcodestack API.What is the postal code of Ljubljana?
Ljubljana has 45 postal codes, starting with 1500. The right one depends on the street; see the full list for Ljubljana.
How many postal codes are there in Slovenia?
The zipcodestack database contains 647 postal codes for Slovenia, each with place name, region and coordinates.
Postal code API
Look up Slovenia postal codes by API
zipcodestack looks up, validates and searches postal codes in 149 countries: city, state, coordinates, distances and radius search, as JSON.
/v1/search documentation International postal code API All documentation
300 free requests every month. No credit card required.
GET https://api.zipcodestack.com/v1/search?codes=4000&country=si
{
"results": {
"4000": [{
"postal_code": "4000",
"country_code": "SI",
"city": "…",
"state": "…",
"latitude": …,
"longitude": …
}]
}
}Free postal code tools
Bulk ZIP code lookup
City and coordinates for a list.
Distance between ZIP codes
Miles or km between ZIP codes.
ZIP codes in a drawn area
Draw an area, get its codes.
What is my ZIP code?
Find the ZIP code where you are.
ZIP code radius search
All codes within X miles of a code.
Postal code validator
Is this postal code real?
Postal codes by countryFormats, regions and cities for 149 countries.