4devs - Numberble

4devs Tools Worth Using, Plus the New Alphanumeric CNPJ

4devs

Brazilian developers have leaned on 4devs since 2012 to generate valid CPF, CNPJ, RG and CNH numbers for testing, and the site now covers dozens of small tools in one menu. This page walks through what 4devs actually does, which tools matter most for QA work, and how its new alphanumeric CNPJ option fits the Receita Federal change that began on 31 July 2026. You’ll also see where its output stops being useful, because a number that passes a check digit is not a real person. By the end, you’ll know exactly which generators to reach for and which checks still need your own code. Short Answer 4devs is a free Brazilian website, running since 2012, that generates and validates test data such as CPF, CNPJ, RG, CNH and fake people profiles. Developers use it to fill forms and test validation rules, and since mid-2026 its CNPJ generator also produces the new alphanumeric format. What the Site Actually Is The site is a collection of browser-based utilities built mostly for Brazilian programmers, analysts and testers, and its footer credits the company 7graus with a copyright range that starts in 2012. The top menu splits into Computação and Matemática, and the Computação side alone groups generators, validators, SEO helpers, string functions, network lookups, encoders and reference tables. Nothing needs installing, so a tester can open a page, click once and paste the result straight into a form. What sets it apart from a generic random-data site is how thoroughly Brazilian it is. Most of the documents it generates, including CPF, CNPJ, RG, CNH, PIS/PASEP, RENAVAM, voter registration and state registration numbers, only exist in Brazil, so a developer working on a local system rarely finds a ready-made generator for them anywhere else. Each generator has a matching validator, which makes the pairing useful for checking your own code against a second opinion. The Generators Most Testers Reach For Nobody uses all of it. In practice a handful of pages cover most daily work, and these are the ones worth bookmarking. The person and company generators are the real time savers, because one click fills a whole registration form with matching fields instead of five separate trips between pages. I’d start there for any sign-up flow and drop down to the single-document pages only when you need to control one detail, like the CPF’s state. The Smaller Utilities People Forget Beyond documents, the menu holds a surprising amount of everyday tooling. String helpers count characters, words and lines, strip accents, flip case, split text and spell out numbers in Portuguese, while the encoder section covers Base64, MD5, SHA1, CRC32, URL encoding and QR codes. Network pages report your IP, browser and operating system, and reference pages offer an ASCII table and a color picker. On the labor side, there’s a vacation pay calculator and a contract termination calculator, which are unusual company for a developer toolbox. Treat those as quick estimates, since real payouts depend on contract details and collective agreements that a simple form can’t see. How the CPF Generator Builds a Number A CPF has 11 digits, and only nine of them are free. The last two are check digits calculated from the first nine with a modulo 11 formula, which is why a typo in a real CPF usually gets caught without any database lookup. The ninth digit also marks the fiscal region where the number was first registered, such as 8 for São Paulo and 7 for Rio de Janeiro and Espírito Santo, and that’s what the state-of-origin dropdown lines up with. The structure is well documented, so the Wikipedia entry on the CPF number is a fair place to check the layout yourself. Simple arithmetic shows the limit of that design. Nine free digits give one billion possible bases, and each base gets exactly one pair of check digits, so the number space is smaller than it looks. Sequences with every digit identical, such as 111.111.111-11, technically pass the modulo test but are rejected by convention, which means any decent generator has to skip them and your own validator should too. The Alphanumeric CNPJ Change This is the development that makes the site matter in 2026. On 31 July the Receita Federal generated the first alphanumeric CNPJ, a 14-character identifier that mixes letters and numbers. The agency’s own question-and-answer document on the alphanumeric format explains how the new structure works and how the check digits are calculated. Existing numbers stay valid, and purely numeric ones can still be issued, since only about 69 million of the 99,999,999 possible numeric root combinations had been used according to the agency’s announcement. So both formats will coexist, and every system that stores a CNPJ has to accept both. The tax authority also published simulated alphanumeric CNPJs for testing in nine states on 9 July 2026, which tells you how seriously it expects integrations to be checked. The CNPJ page here now includes a format selector with a numeric option and an alphanumeric one labeled with the IN RFB 2.229/2024 rule. That gives testers a quick way to produce letter-based values without writing the check digit routine first. Bugs tend to hide in boring places, so expect a form that strips non-digit characters to quietly mangle a letter, a numeric database column to reject the value, and an input mask to block typing it at all. Push both formats through every field, export and third-party integration that touches a CNPJ. The Mistake That Makes Generated CPFs Risky Plenty of people assume that a generated CPF is fake and therefore harmless. It’s valid by arithmetic only, which is a different thing from being invented. With roughly 210 million residents in Brazil and only one billion possible bases, a randomly generated CPF has a real chance of matching a living person. The confusion comes from the word “valid.” In a tool, it means the check digits agree, but in everyday speech it means the person exists and the registration is regular. A … Read more