Argentina CUIT and CUIL Generator and Validator

Turn a DNI into a CUIL with the right prefix (20, 27, 23), check a CUIT or CUIL and see how the check digit is computed, or paste a whole list to validate, clean and format every number and export the results.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Generate

    DNI and type to CUIL.

  2. 2
    Check one

    See the digit calculation.

  3. 3
    Batch

    Paste a list from a spreadsheet.

  4. 4
    Clean

    Format all numbers.

  5. 5
    Export

    Save the results as CSV.

About this tool

Every taxpayer and worker in Argentina has an 11-digit number: the CUIT for tax purposes and the CUIL for work and social security, built the same way. The first two digits are a prefix (20 for men, 27 for women, 23 or 24 in special cases, and 30, 33 or 34 for companies), the next eight are the DNI or a company number, and the last is a check digit computed with modulus 11: each of the first ten digits is multiplied by the weights 5, 4, 3, 2, 7, 6, 5, 4, 3 and 2, the products are added, and the digit is 11 minus the remainder of the sum divided by 11, with 11 becoming 0. When the result would be 10, the prefix changes to 23 for people (with check digit 9 for men and 4 for women) or 33 for companies. This tool does all three common jobs. The generator builds the CUIL from a DNI and type and lets you save it. The checker validates one number in any format, shows its type and a table with each digit, weight and product so the arithmetic can be followed. The batch checker takes a pasted list from a spreadsheet, ignores dashes, dots and spaces, marks each line valid or invalid with the reason, cleans and formats all numbers as 20-12345678-6 and exports the results to CSV.

Prefixes

| Prefix | Used for | |---|---| | 20 | Men | | 27 | Women | | 23, 24 | People, when 20 or 27 would give check digit 10, and special cases | | 30 | Companies and other entities | | 33, 34 | Companies, when 30 would give check digit 10, and special cases |

Worked example

DNI 12345678 for a man: prefix 20. Weights times digits: 2×5 + 0×4 + 1×3 + 2×2 + 3×7 + 4×6 + 5×5 + 6×4 + 7×3 + 8×2 = 148. 148 mod 11 = 5, and 11 − 5 = 6, so the CUIL is 20-12345678-6. The batch checker marks "20 12345678 5" as invalid, expected digit 6.

Valid is not the same as registered

A correct check digit only means the number is well formed. To know whether a CUIT exists and is active, look it up in ARCA's public register (constancia de inscripción).

Privacy

Numbers are checked in your browser; nothing is sent anywhere. Do not publish other people's CUILs.

Common uses

Accountants and HR teams use the batch checker to clean payroll and supplier lists before importing them, catching typing errors in a single digit that would otherwise be rejected by ARCA's systems.

Limits

The generator computes the standard arithmetic; ANSES or ARCA may assign a different prefix in special cases. Not an official document.

Worked example

DNI 12345678, man → weighted sum 148 → 148 mod 11 = 5 → digit 6 → 20-12345678-6.

Quick facts

Frequently asked questions

How is a CUIL formed?

A two-digit prefix, the eight-digit DNI and a mod-11 check digit.

Which prefix do I use?

20 for men and 27 for women; 23 when the check digit would be 10.

How is the check digit calculated?

Multiply the first ten digits by 5,4,3,2,7,6,5,4,3,2, add, and take 11 minus the remainder of dividing by 11.

Can I check many numbers at once?

Yes, paste a list and export the results to CSV.

Does a valid digit mean the CUIT is active?

No, check ARCA's public register for that.

Is anything uploaded?

No, everything runs in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages