PIS Format Validator
Validate a Brazilian PIS/PASEP number (11 digits) by checking its verification digit with the official algorithm. Useful for HR and payroll records.
Checking the PIS check digit fast
Payroll filing bounced and HR now has to find which of the two hundred PIS numbers in the spreadsheet is wrong. Pasting them one by one here is the quickest test available: with or without dots and dash, eleven digits, and the verdict changes as you type. The page answers exactly one question, whether the last digit agrees with the first ten.
It runs the official mod 11 routine: weights 3, 2, 9, 8, 7, 6, 5, 4, 3 and 2 applied to the first ten digits, summed, then divided by 11 for the remainder. A remainder below 2 means a check digit of zero; otherwise the digit is 11 minus the remainder. Everything that is not a digit is stripped first, so 120.56412.54-5 and 12056412545 give the same answer. Ten or twelve digits turn red immediately.
Two limits are worth knowing. A correct check digit does not mean the number was ever issued, since nothing here queries Caixa or the social security database, so a made-up number that satisfies the math shows green. Eleven zeros also pass, so repeated sequences need blocking in your own code. Note too that the field arrives prefilled with an example whose digit does not close, so the page opens red until you paste your own.
Frequently asked questions
Are PIS, PASEP, NIT and NIS the same number?
Does green mean the worker is registered?
Why does 00000000000 show as valid?
Related Tools
PIS/PASEP Validator
Validate Brazilian PIS/PASEP numbers using the official check-digit algorithm. No data sent to servers. Free and no sign-up.
RG-MG Format Validator
Validate the format of a Minas Gerais RG ID (9 digits plus an alphanumeric check digit). Useful for checking documents in forms and sign-ups.
Bitcoin Address Format Detector
Paste an address and read its script type off the prefix: 1 legacy P2PKH, 3 P2SH, bc1q segwit, bc1p taproot, m, n, 2, tb1 testnet. Prefix only, no checksum.
Bank Branch Validator
Validate the format of a Brazilian bank branch number (4 digits, with an optional check digit). Useful for sign-ups, bank slips and checking banking data.
MAC Address Validator
Validate MAC addresses in colon (xx:xx:xx:xx:xx:xx), hyphen, Cisco (xxxx.xxxx.xxxx) or no-separator formats. Identifies unicast/multicast and local/universal. Everything in your browser.
RG-SP Format Validator
Validate the format of a São Paulo RG ID (8-9 digits plus check digit, including X). Useful for checking documents in forms and sign-ups.