Home🇸🇻 El SalvadorDocumento Único de Identidad

DUI generator (El Salvador)

A Salvadoran DUI number is nine digits formatted 00000000-0 — an eight-digit serial and a final check digit whose algorithm is not officially published. These test values are synthetic and format-valid.

Synthetic · not collision-guaranteed Validate a number →
60599267-4

Synthetic DUI (format-valid). The check digit’s algorithm is not officially published.

Format specification

IdentifierDocumento Único de Identidad (DUI)
Country🇸🇻 El Salvador
Format00000000-0
Length9 characters
ChecksumNone
Example72913633-5
Safe strategy Synthetic
Data qualityBest-effort

Documento Único de Identidad: what each part means

00000000 Eight-digit serial number assigned by the RNPN.
0 Check digit (algorithm not officially published; test values use a random digit).

Validation regex

Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()

^\d{9}$

References

  1. en.wikipedia.org/wiki/National_identification_number#El_Salvador

Common questions

Will these pass my validation?

Yes — they are well-formed Documento Único de Identidad values (00000000-0) and pass standard format checks.

Could one belong to a real person?

These are synthetic values. They are format-valid but not drawn from a guaranteed reserved range, so use them only for testing.

Can I generate many at once?

Increase the count, or use the free API and CSV/JSON export for large datasets.

Validate an existing number →

For software testing only. These numbers are synthetic and must never be used for real-world identification, applications, or to impersonate anyone.