This tool runs entirely in your browser. Nothing you paste is uploaded.
How you can check →Base64 Encoder/Decoder
Encoding & DecodingEncode text to base64, or decode base64 back to text. Both fields stay in sync as you type — entirely in your browser.
No network activity while you use this tool Show the numbers
- Requests to any other server
- 0
- Requests since you started typing
- —
- Same-origin requests
- 0
Counted live by your browser's own Performance Timeline — the same data the DevTools Network panel reads. It cannot see what a browser extension does, and it is not meant to replace checking for yourself: here is how, in thirty seconds .
How base64 encoding works
Base64 splits input bytes into 6-bit groups and maps each group to one of 64 printable
characters. Because 6 doesn't divide evenly into 8 (a byte), the output is roughly 33%
larger than the input, and short inputs are padded with = so the length is a
multiple of 4.
Common use cases
- Embedding small images or files as data URIs in CSS/HTML
- Encoding binary data (like credentials) for HTTP headers, e.g. Basic Auth
- Passing structured data through systems that only accept plain text
Frequently asked questions
- What is base64 encoding?
- Base64 represents binary or text data using only 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It's commonly used to safely embed data in places that only support text, like JSON payloads, URLs, or email attachments.
- Is base64 the same as encryption?
- No — base64 is an encoding, not encryption. It provides no confidentiality; anyone can decode it instantly, as this tool demonstrates. Never use base64 alone to protect sensitive data.
- Why did decoding fail on my input?
- Either the text contains characters outside the base64 alphabet (A–Z, a–z, 0–9, +, /, and = padding), the length/padding is invalid, or the decoded bytes aren't valid UTF-8 text (e.g. you pasted base64 of an image or other binary file).
- Does this handle Unicode text correctly?
- Yes — encoding and decoding both go through UTF-8, so emoji, accented characters, and non-Latin scripts round-trip correctly.
Explore more tools
Every hash of your text at once — MD5 through BLAKE3 — computed twice and cross-checked against the browser's own crypto.
Percent-encode or decode a URL, with proof the result round-trips.
Split a URL into its parts, decode every query parameter, and rebuild it.