PIS/PASEP Generator
Generate mathematically valid Brazilian PIS/PASEP numbers for software testing. Follows the official check-digit algorithm. For test use only.
What is a PIS/PASEP generator used for?
Both PIS (Social Integration Program) and PASEP (Public Servant Heritage Formation Program) are 11-digit registrations that identify workers. To test HR forms and systems, developers need valid numbers.
The numbers generated here respect the official check-digit algorithm, so they are mathematically correct. But they are fictitious and correspond to no real person.
For testing and development use only.
Understanding PIS / PASEP / NIT / NIS
In Brazil, a single 11-digit number tracks a worker's relationship with the federal social-security system across four different acronyms. They all share the same structure and check-digit algorithm — only the registration channel changes. The number is permanent: once assigned, the worker keeps it for life across job changes, retirement and social programs.
- PIS — Programa de Integração Social. Created by Complementary Law 7/1970 for private-sector employees. Funds the abono salarial (annual minimum-wage bonus) and is administered by Caixa Econômica Federal.
- PASEP — Programa de Formação do Patrimônio do Servidor Público. Created by LC 8/1970 for public servants, administered by Banco do Brasil. PIS and PASEP were merged into the PIS/PASEP fund in 1976 and effectively work as one identifier today.
- NIT — Número de Inscrição do Trabalhador. Used by self-employed people and individual contributors (contribuinte individual) who pay INSS directly. Issued by the INSS through the Meu INSS app or website.
- NIS — Número de Identificação Social. Issued by Caixa via the CadÚnico registry; the entry key for federal benefits such as Bolsa Família, BPC and Auxílio Brasil.
Structure and check-digit math
The number has 11 digits: 10 identifiers plus 1 check digit (DV), usually printed as XXX.XXXXX.XX-D. The DV is computed with modulo 11 using descending weights:
digits d1 d2 d3 d4 d5 d6 d7 d8 d9 d10
weights 3 2 9 8 7 6 5 4 3 2
sum = Σ (digit_i × weight_i)
rest = sum mod 11
DV = 11 − rest (if DV ≥ 10, DV = 0)
Where it shows up
Brazilian employers must report the PIS/PASEP of each worker to eSocial (the unified payroll/HR e-filing system), to FGTS deposits (the severance fund), to the RAIS annual report and to the abono salarial payment list. Workers can look up their number on the Meu INSS app, on the CTPS Digital (digital employment booklet), on the Caixa Trabalhador app or on old paper documents like the orange PIS card.
FAQ
Are PIS and PASEP the same thing today? Practically yes. The funds were merged in 1976 and both numbers follow the same format and algorithm. The label differs only by who issued it: Caixa (private sector) or Banco do Brasil (public sector).
Can I have two PIS numbers? No. Duplicate registrations are a federal irregularity (duplicidade de cadastro) and must be merged by the INSS — failure to do so can block the abono salarial and FGTS withdrawals.
I'm self-employed — do I need PIS or NIT? NIT. The PIS is issued automatically on your first formal employment. If you start as a freelancer, register for an NIT on Meu INSS so your INSS contributions count toward retirement.
Can I use these generated numbers to claim benefits? No. They satisfy the modulo-11 check but are not registered with the INSS or Caixa. Use them only for unit tests, mock data and form-validation development. Submitting a generated number to a real benefit is identity fraud.
PIS/PASEP number generator for testing
HR, payroll and benefits systems all work with the PIS/PASEP (a Brazilian worker registration number), and testing them properly means having valid numbers that belong to no one. That's what this tool produces: mathematically valid PIS/PASEP numbers, calculated with the official check-digit algorithm.
Since they pass any format validation, they work well for seeding development databases, running payroll tests or approving labour integrations. The usual reminder applies, though. This is fictitious data, meant for testing only, never for fraud or impersonation.
No database is queried, because the whole thing runs in your browser. Generate as many as you need to fill out your test environment's data.
Related Tools
Alphanumeric CNPJ Generator
Generate valid Brazilian alphanumeric CNPJ numbers in the new Receita Federal format (IN RFB 2.119/2022), effective July 2026. Uses the official SERPRO algorithm. For test use only.
Person Data Generator
Generate complete fictitious person profiles: name, CPF, date of birth, CEP and phone number. Mathematically valid data for testing.
Brazilian State Tax ID Generator
Generate valid Brazilian State Tax IDs (Inscrição Estadual) for SP, RJ, MG, RS, PR and BA. For fiscal software and SEFAZ integration testing.