Colombia NIT Validator
Check a Colombian NIT's dígito de verificación with DIAN's official prime-weight mod-11 algorithm, or compute the DV for a bare NIT body — locally in your browser, with batch checking and CSV export.
Validate a Colombian NIT
Paste a NIT with its dígito de verificación (dots and the hyphen are optional) to recompute the check digit with DIAN's official prime-weight modulo-11 algorithm — or compute the DV for a bare NIT body. Everything runs locally in your browser.
A Colombian NIT (Número de Identificación Tributaria) is the tax ID assigned by DIAN through the RUT registry. Its last digit is a dígito de verificación (DV) computed with an unusual algorithm: each body digit is multiplied by a fixed prime weight (3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71, applied from right to left), the sum is taken modulo 11, and a remainder above 1 is subtracted from 11. This tool recomputes the DV locally and explains every failure.
Companies receive 9-digit NIT bodies (usually starting with 8 or 9), while natural persons simply use their cédula de ciudadanía number as the body — that is why valid NITs vary in length. Write it as 800.197.268-4: the dots are cosmetic and the hyphen separates the DV. A matching DV proves the number is well-formed, not that it is registered — registration lives in DIAN’s RUT, and an invoice-ready NIT must match the RUT certificate.
Need to clean a supplier or payroll list? The batch panel validates hundreds of NITs at once with per-row reasons and CSV export, and the cross-country batch ID workbench mixes NITs with Brazilian CPF/CNPJ, Mexican RFC and more — everything stays in your browser, nothing is uploaded.
FAQ
How is the NIT check digit (DV) calculated?
Right-align the NIT body, multiply each digit by the DIAN prime weights 3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71 (rightmost digit × 3), sum everything and take modulo 11. A remainder of 0 or 1 is the DV itself; anything else becomes 11 − remainder. Example: the body 800197268 leaves remainder 7, so the DV is 4 — giving DIAN’s own NIT, 800.197.268-4.
Why do valid NITs have different lengths?
Companies get 9-digit bodies assigned by DIAN (commonly starting with 8 or 9). Natural persons use their cédula number as the NIT body, and older cédulas can be much shorter — so a NIT with its DV can legitimately run from a handful of digits up to 16. The prime-weight table covers bodies up to 15 digits.
Does a correct DV mean the NIT is registered?
No. The DV only proves the number is internally consistent. Whether it exists, is active and belongs to a specific taxpayer is recorded in DIAN’s RUT — for invoicing, verify against the RUT certificate (consulta RUT).
What is the difference between NIT and RUT?
The RUT (Registro Único Tributario) is the registry — the full tax file with names, responsibilities and status. The NIT is the number that identifies that file. In practice you “have a RUT” and you “quote your NIT” on invoices.
Is my list uploaded anywhere?
No. Single checks, the DV calculator, batch validation and CSV export all run entirely in your browser — nothing you paste here touches a server.