Home🇨🇷 Costa RicaCédula de Identidad

Cédula de Identidad generator (Costa Rica)

A Costa Rican cédula is nine digits formatted 0-0000-0000 — a province digit, the civil-registry volume (tomo), and the entry (asiento). There is no checksum. These test values are synthetic.

Synthetic · not collision-guaranteed Validate a number →
5-0028-5274

Synthetic cédula (format-valid; the scheme has no checksum). Not a real issued number.

Format specification

IdentifierCédula de Identidad
Country🇨🇷 Costa Rica
Format0-0000-0000
Length9 characters
ChecksumNone
Example5-2864-9519
Safe strategy Synthetic
Data qualityVerified against sources

Cédula de Identidad: what each part means

0 Province of birth registration, 1–7 (8 is used for naturalised citizens).
0000 Civil-registry volume (tomo).
0000 Entry (asiento) within that volume.

Validation regex

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

^[1-8]\d{8}$

References

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

Common questions

Will these pass my validation?

Yes — they are well-formed Cédula de Identidad values (0-0000-0000) 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.