All countries
Peru RUC & DNI Test Data Generators
Generate synthetic Peruvian RUC and DNI test data in your browser for tax and identity form testing. The RUC tool covers 20-prefix companies and 10-prefix individuals with the SUNAT Mod-11 check digit, while the DNI tool appends the RENIEC verification character in digit or letter form. Use them to exercise prefix routing, length checks, and checksum rejection.
Tax & identity numbers
Peru RUC Generator
Generate synthetic 11-digit Peruvian RUC numbers for companies (20…) and individuals (10…), with the SUNAT mod-11 check digit.
Peru DNI Generator
Generate synthetic 8-digit Peruvian DNI numbers with the RENIEC verification character in digit or letter form, and validate pasted values.
QA testing tips
- Submit a 20-prefix RUC and a 10-prefix RUC in the same test run to confirm company and individual routing.
- Validate a DNI with the letter character instead of the digit to check that both RENIEC forms are accepted.
- Change one digit before the RUC check position so your Mod-11 rejection path and message are covered.
All values are synthetic test data generated in your browser. They are not real, issued identifiers.