Type in either pane — conversion runs live in both directions. UTF-8 is handled correctly.
Plain text0 chars · 0 bytes
Base640 chars
About Base64 Encode / Decode
Encode and decode Base64 for text and files, including URL-safe output and data URLs — nothing is uploaded.
What it does
Convert text or a file to Base64 and back. It handles standard and URL-safe alphabets, produces ready-to-use data URLs for embedding images or fonts directly in CSS or HTML, and decodes Base64 back to a downloadable file.
Encoding is not encryption
Base64 is a way of representing binary data in text so it survives systems that only handle ASCII — email attachments, JSON payloads, data URLs. It provides no security whatsoever: anyone can decode it instantly, which is exactly what this page does. If you need something kept secret, you need encryption, not encoding.
Common questions
- Is Base64 encryption?
- No. It is a reversible text representation of binary data with no key and no secrecy. Anyone can decode it in seconds.
- What is URL-safe Base64?
- A variant that replaces + and / with - and _, because the standard characters have reserved meanings in URLs. JWTs use it.
- Why does Base64 make files bigger?
- It represents three bytes with four ASCII characters, so output is about 33% larger than the input, plus padding.
- What is a data URL?
- A URL that carries the file's contents inline, like data:image/png;base64,…. It lets you embed a small image or font directly in CSS or HTML with no separate request.
- Are uploaded files sent to a server?
- No. Everything happens in your browser — nothing you enter is uploaded, and the tool keeps working with no network connection.