Home poštna številka Slovenia

Slovenia poštna številka validator

How the poštna številka format works

Format
4 digits
Example
1000

Things to watch for

  • Format-only check — does not confirm the poštna številka actually exists
  • Always exactly 4 digits; the SI- prefix used on international mail (e.g. SI-1000) is not part of the code this validator checks
  • Created after 1991 independence by dropping the leading Yugoslav republic digit — Ljubljana's 61000 became 1000
Regex for poštna številka
^[0-9]{4}$

A Slovenian poštna številka is the 4-digit postcode Pošta Slovenije uses to route mail — for example 1000 for Ljubljana, the lowest code in the system and the one reserved for the capital. It’s shorter than the codes used by most of Slovenia’s former-Yugoslav neighbours because of a deliberate post-independence choice: the old Yugoslav-era codes were 5 digits starting with a shared republic digit (6 for Slovenia), and after 1991 Slovenia dropped that leading digit rather than keeping the full 5-digit block. Anyone validating a Slovenian shipping address, a checkout form, or a spreadsheet of customer records needs the poštna številka in the correct 4-digit shape before it’s trusted.

Because it’s a bare run of digits with no separator, a transposed digit produces a code that still looks entirely plausible.

How this validator works

This tool checks that the input is exactly 4 digits with no letters, spaces, or hyphens — the SI- country prefix sometimes shown on international mail is not part of the code this validator checks — entirely in your browser, with nothing sent to a server.

What a pass doesn’t tell you

A poštna številka carries no check digit, so matching the 4-digit shape is the most a client-side tool can confirm — not that Pošta Slovenije has assigned it to a real town. Confirming that requires Pošta Slovenije’s own postcode lookup.

Scope: this page and tool cover format validation only — not address lookup or confirming a poštna številka is currently in use.

poštna številka FAQ

Why does Slovenia use 4-digit codes when former-Yugoslav neighbours use 5?

Under Yugoslavia, Slovenian addresses carried a 5-digit code starting with the republic digit 6 — Ljubljana was 61000. After independence in 1991, Slovenia simply dropped that leading digit, so 61000 became 1000, and the country has used a 4-digit system ever since.

What does the SI- prefix mean on a Slovenian address?

It's the ISO country prefix used for international mail, e.g. SI-1000. This validator checks only the 4 numeric digits — the SI- prefix is a separate presentation convention, not part of the postal code itself.

Does a correctly formatted poštna številka mean it actually exists?

No. This tool only confirms the string is 4 digits — it doesn't check it against Pošta Slovenije's actual assignment list. Confirming a poštna številka is real, and seeing which town it names, requires Pošta Slovenije's own postcode lookup.

← More poštna številka validators