Spain CIF Validator

Validate Spanish Company ID

Enter a Spanish Tax Identification Code to verify its validity.

About this Validator

This tool validates Spanish Company Tax Numbers according to official requirements.

The validator checks if a given CIF follows the correct structure and verifies its check digit.

This validation only confirms if a CIF follows the correct format. It does not verify if the number is actually registered with Spanish tax authorities.

What is a CIF (Código de Identificación Fiscal)?

CIF Structure (9 characters: TXXXXXXC): • T: Type letter indicating entity type - A: Public corporations - B: Limited liability companies - C: General partnerships - D: Limited partnerships - E: Community property - F: Cooperatives - G: Associations - H: Housing communities - J: Civil corporations - N: Foreign entities - P: Local authorities - Q: Public organisms - R: Religious congregations - S: Government organs - U: Joint ventures - V: Others - W: Permanent establishments • XXXXXX: Provincial code + sequential • C: Check digit (number or letter)

Validation Features: • Entity type verification • Province code check • Sequential validation • Check digit calculation • Format compliance

Used for: • Tax identification • Business registration • Legal transactions • Financial services • Official documents • Government interactions

Important Notes: • Official identifier • Entity specific • Tax administration • Business standard • Legal requirement

If you need to generate a CIF for testing purposes, here is a Spain CIF Generator