Social security number is valid (ES)
What this tool does
This tool checks if a Spanish social security number follows the correct format and rules.
The result is based on a simple mathematical formula. It does not check the official government database to confirm if the number is currently active or belongs to a specific person.
Common uses
- Checking if a number is typed correctly before processing
- Validating data in forms that require a Spanish ID number
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
number | Yes | 998239812282 | Enter the full Spanish social security number as plain text, for example '998239812282'. This field is required and must be 11 or 12 digits long. |
Output data
| Field | Description |
|---|---|
result | Returns true if the number is valid, or false if it is invalid. This is a yes/no answer, for example: true |