Normalized DNI (ES)
What this tool does
This tool cleans up a Spanish ID number (DNI) by removing any characters that are not digits. It ensures the number contains only numbers, making it easier to use in other parts of the platform.
The tool does not check if the ID number is valid or belongs to a real person. It only formats the text you provide. If the input is empty, the result will be empty.
Common uses
- Preparing ID numbers for official forms or databases
- Fixing messy data where numbers are mixed with spaces or symbols
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. |