Is a made-up RG still personal data under the LGPD?
If it does not correspond to any real person, it is not personal data of anyone: the LGPD (Law 13.709/2018) protects information related to an identified or identifiable natural person, and a purely synthetic number, generated without starting from an existing record, does not meet that criterion.
Why not just use a coworker's RG as a test example?
Because that turns a real person's personal data into a fixture, spreading that identifier across commits, spreadsheets and screenshots in a way the person almost certainly never authorized; a synthetic generator removes that person from the equation entirely.
Is generating the RG in the browser safer than asking an API to generate it?
Yes, the calculation fits entirely in a modulo-11 pass over locally drawn digits, with no network dependency at all; a generation endpoint would be an unnecessary extra surface, and it would still create a server log of every value issued.
Does a staging dump with a synthetic RG still need access control?
It is still worth keeping the same basic care as any environment, access control and limited retention, but the risk of exposing a real identity disappears; the gain from the synthetic approach is removing real people from the blast radius of a possible staging leak.