Normalized DNI (ES)
What this tool does
This tool cleans and standardizes Spanish national identity numbers, known as DNI. It removes any non-numeric characters to provide a consistent, pure number. This is useful for systems that require strict numeric formatting.
When to use it
- Cleaning up data copied from forms or spreadsheets that may contain spaces or dashes.
- Preparing a list of customer IDs for integration with another system.
- Standardizing personal identification numbers across different data sources.
What to expect
A clean string containing only the digits of the ID, with all other characters removed.
Limitations
- This tool only processes Spanish DNI numbers. It does not validate if the ID is real or valid, only that it is numeric after cleaning.
- It does not check the official registry for validity.
- It cannot handle non-Spanish identification formats correctly.
When it fails
- No input value is provided.
- The input is completely empty.
- The system encounters a processing error.
Good to know
- The input can be provided as 'dni', 'id', or 'document'.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
dni | Yes | 44016a116 | Enter the Spanish ID number as text, for example '44016a116'. This field is required. |
Output data
| Field | Description |
|---|---|
result | The cleaned ID number containing only digits, for example '44016116'. Note: The 'result' boolean field always returns 'True' and does not indicate if the ID is valid. |