Base64 encodes binary or text into an ASCII-safe string for transport in JSON, HTML, or URLs. Local encode/decode is useful when you need a quick transform without sending secrets to a third-party site.
What this tool does
Encode text to Base64 or decode Base64 back to text in your browser. No network request is required for the conversion itself.
When to use it
Use it for data URLs, basic auth experiments, embedding small assets, or inspecting encoded fields in API payloads.
Tips
Base64 is encoding, not encryption. Anyone can decode it. Never treat it as a security control.
URL-safe Base64 variants replace +/ and may omit padding. If decode fails, check which dialect you received.
FAQ
Why does decoded output look garbled? The source may be binary, compressed, or a different character encoding than plain UTF-8 text.