CUI generator (Guatemala)
A Guatemalan CUI (printed on the DPI) is thirteen digits — an eight-digit register number, a verification digit, and four digits for the department and municipality. RENAP does not publish the check algorithm, so these test values are format-valid only.
Synthetic CUI (format-valid). The verification digit’s algorithm is not officially published.
Format specification
| Identifier | Código Único de Identificación (CUI / DPI) |
|---|---|
| Country | 🇬🇹 Guatemala |
| Format | 0000 00000 0000 |
| Length | 13 characters |
| Checksum | None |
| Example | 7291 36335 0930 |
| Safe strategy | Synthetic |
| Data quality | Best-effort |
Código Único de Identificación: what each part means
| 00000000 | Eight-digit register number assigned by RENAP. |
|---|---|
| 0 | Verification digit. The algorithm is not officially published, so validators should not rely on it; test values use a random digit. |
| 00 | Department code (01–22). |
| 00 | Municipality code within the department. |
Validation regex
Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()
^\d{13}$ References
Common questions
Will these pass my validation?
Yes — they are well-formed Código Único de Identificación values (0000 00000 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.