CodeToolsHub.dev

RG Generator — São Paulo (SSP-SP)

Live

Generate valid-format São Paulo RG numbers.

All generated data is fictional and intended for development, testing, QA, prototyping, and automation only. Do not use it for fraud, impersonation, or illegal activity.

Configuration

Output

Configure the options and press Generate to produce output.

About this tool

Builds 8 base digits and computes the SSP-SP mod-11 check character, where a result of 10 is written as 'X'. Scoped to São Paulo, the only state with a widely-documented RG check digit. Fictional, for technical testing only.

How it works

  1. Choose how many São Paulo (SSP-SP) RG numbers to generate and whether to include punctuation.
  2. Optionally set a seed for reproducible output.
  3. Press Generate, then Copy, Download JSON or Download CSV.

Example output

[
  "57.671.255-3",
  "28.237.537-5"
]

API endpoint

curl "https://codetoolshub.dev/api/v1/br/rg?count=3"
API

Frequently asked questions

Are these RG numbers real?
No. They have a valid SSP-SP check digit so validators accept them, but they are random and not tied to any real document.
Does it work for RGs from other states?
This generator targets São Paulo (SSP-SP), the only state with a widely-documented RG check digit. Other states use issuer-specific formats.
Can I use it for fraud?
No. These are fictional numbers for technical testing only; misuse is prohibited.

Related tools

CodeToolsHub.dev

Realistic fictional data for development, testing, and AI.

© 2026 CodeToolsHub.devAll generated data is fictional. Not affiliated with Microsoft or Visual Studio Code.