Data Tinker ES

IBGE municipality code generator (Brazil)

The municipality code required by e-invoices and registers: seven digits, the last one a check digit. Validate tells you which city it is.

Free, no sign-up and no limits. Everything is generated in your browser: nothing is sent anywhere.

IBGE municipality code examples

Five samples; the tool above makes new ones every time you ask.

  • 3549904
  • 1400100
  • 1200401
  • 1100205
  • 3136702

IBGE municipality code validation

The ones above pass the Data Tinker validator, which checks the format and the check digits; you can paste your own into the tool on this page.

  • With the last character changed, 3549900 no longer passes: “The check digit (the last one) does not add up.”

IBGE municipality code options

  • With a wrong check digit: the right format and the wrong check, to test that the form rejects it

What if it filled itself in?

With the Data Tinker extension there is no copying and pasting: it fills the whole form from a panel next to the page, with templates per form and rules for your own fields.