DNI Validator - Check if a Spanish ID is valid

Use our online DNI validator to check if a Spanish National Identity Document is valid. Instant verification according to the official algorithm.

DNI Format

The correct format of a Spanish DNI consists of 8 numbers followed by a letter. The letter is calculated from the numbers using a specific algorithm and serves as a control digit to detect errors.

Validation Criteria

  • Must have 8 numbers followed by a letter
  • The letter must correspond to the result of the official algorithm
  • Must not contain special characters or spaces

Validation Uses

  • Verify the technical validity of a DNI
  • Test document validation systems
  • Development of applications with identity verification

Important Notice: This validator only checks the technical validity of the DNI according to the official algorithm. It does not verify if the document actually exists or belongs to a specific person.