Skip to content

RG Generator

Generate valid Brazilian RG (identity card) numbers by state. Ideal for system testing. 100% free.

No sign-up 100% free Private

For testing purposes only. Do not use for fraud.

Was this tool helpful?

RG Generator — Brazilian Identity Card Numbers for Testing

Online RG Generator (Identity Card) - Free for Testing

Our free online rg generator (identity card) creates valid test data instantly. Designed for software developers, QA engineers, and testers, this tool generates mathematically valid data that passes all format and check-digit validations, making it perfect for populating test databases, filling out forms, and building automated test suites.

Key Features

  • Generates mathematically valid data instantly using official algorithms
  • Batch generation to create multiple entries at once for testing
  • Formatted and unformatted output options for different use cases
  • One-click clipboard copy for fast workflow integration
  • No registration, API key, or installation required
  • Completely free with unlimited usage

The generation algorithm follows the official specification, ensuring that every generated value passes standard validation checks. This makes the tool ideal for automated testing pipelines, form validation testing, and database seeding where realistic test data is needed without using real personal information.

All generation happens in your browser using JavaScript and no data is sent to any server. The tool is completely free, requires no registration, and works on any device including smartphones and tablets. Generated values are random and unique per session, providing fresh test data every time.

Important: Generated data is exclusively for testing and software development purposes. It should never be used for any fraudulent or illegal activities. Combine this generator with our validator tools to create comprehensive end-to-end test workflows for your applications and ensure data integrity.

Frequently Asked Questions

Are the generated RG numbers real?
No. The numbers have valid formatting and check digits but are not registered with any government agency. They are strictly for testing purposes.
What is the RG format?
The RG follows the XX.XXX.XXX-X format, where the last digit is a check digit calculated using the modulo 11 algorithm. Each Brazilian state issues RGs through its own SSP.
Can I choose the issuing state?
Yes. You can select a specific Brazilian state to generate RGs with the appropriate regional format, or generate generic numbers without state association.