Hi! I'm the Facilita assistant. I can generate, validate and format CPF/CNPJ, help with passwords, JSON, conversions, calculators, and answer questions about our tools. How can I help?
NFe Key Generator
NFe Key Generator: Generate NFE and key with speed and clarity. Runs straight in the browser and keeps the workflow lightweight. Built for quick checks.
IBGE code of the issuing state. Leave empty for random.
Was this tool helpful?
Thank you for your feedback!
Why use NFe Key Generator
People searching for quick answers often land here because NFe Key Generator matches common searches such as NFe Key Generator, online NFE and key and a practical way to handle NFE The page is meant to produce NFE and key fast, with output that is ready for testing, examples or operational use.
Use NFe Key Generator when you need to create test-ready output on demand without opening spreadsheets, heavy editors or back-and-forth forms. Useful for developers, analysts and QA routines that need a fast result without writing throwaway scripts. The page is structured to answer the practical question first, then give enough context to review the result with confidence. That matters when you need quantity, consistency and less manual repetition.
Where this tool is most useful
- Quick generation for a practical way to handle NFe Key Generator
- Clear output that is easier to review and trust for technical review and quick validation
- Local-first handling for Works well in short operational workflows
For client-side tools, the page highlights local execution and practical steps so the result feels trustworthy before you move on. If this step is only part of your workflow, nearby tools like Validate NFe Key, CPF Validator — Official Algorithm and CNPJ Validator — Instant Check help you continue without redoing context from scratch.
Generate NFe Access Key for Testing
Generate valid NFe access keys (Nota Fiscal Eletrônica — Brazilian Electronic Invoice) for testing and development with facilita.tools. Each generated key strictly follows the official 44-digit structure defined by the Brazilian Federal Revenue Service (Receita Federal) and SEFAZ: a 2-digit UF code identifying the issuing state, a 4-digit year and month (AAMM), a 14-digit CNPJ of the issuing company, the fiscal document model (55 for NFe or 65 for NFCe), a 3-digit series number, a 9-digit invoice number, the emission type, an 8-digit random numeric code, and a mathematically valid Modulo 11 check digit calculated with cyclic weights 2 through 9.
This tool is essential for software developers and QA engineers who need realistic test data for ERP systems, tax compliance modules, invoice processing pipelines, and SEFAZ integration testing. Use it to populate staging databases, validate XML parsers that process NFe files, test barcode readers that scan DANFE documents, and verify check digit validation routines in your applications. You can generate keys for all 27 Brazilian states, choose between NFe (model 55) and NFCe (model 65), and produce batches of up to 50 unique keys at once.
All generated keys are algorithmically valid — they pass Modulo 11 verification and contain structurally correct fields — but they represent entirely fictional invoices. These keys do not exist in any SEFAZ database and cannot be used for real fiscal transactions. The CNPJ numbers embedded in each key are randomly generated for testing purposes only. This tool runs 100% client-side in your browser using cryptographic random number generation, ensuring no data is sent to any server. It is completely free, requires no registration, and works on any device.