Guide and best practices
Base64 is used to carry text and small binary payloads inside URLs, JSON, emails, data URIs, and config files. gene.re converts your input in the browser, so tokens, snippets, and private strings do not need to travel to a remote service just to be reformatted.
Use it to inspect an encoded value, prepare a data URI, or decode a payload you received before trusting it. Because everything runs locally, you can work with sensitive keys and drafts without adding another place they are stored.
The tool handles UTF-8 text cleanly and surfaces clear errors when the input is not valid Base64, so you can quickly tell whether a string is malformed or simply encoded with a different scheme.
Use cases
- Encode text or small payloads for inclusion in JSON, URLs, or data URIs.
- Decode a Base64 string received from an API, email header, or config file.
- Inspect encoded values while keeping secrets and drafts on your device.
- Prepare quick test fixtures during development and debugging.
FAQ
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect secrets.
Is my input uploaded?
No. Encoding and decoding run in your browser, so the text you paste is not sent to gene.re.
Why does decoding fail?
The string may contain invalid characters, wrong padding, or use a URL-safe variant. Check the format and try again.