Base64 Encode / Decode
Encode and decode UTF-8 text as Base64 or Base64URL. Live conversion, MIME line wrap, byte stats, and hex view — entirely in the browser.
27 characters
40 characters · 29 bytes
How it works
Choose encode or decode
Encode turns UTF-8 text into Base64. Decode reverses Base64 (including data: URIs and Base64URL) back to text.
Set options
URL-safe swaps +/ for -_ and drops padding. Wrap lines inserts 76-character MIME breaks on encode. Live updates as you type.
Copy, download, or inspect
Copy or download the result. On decode, hex shows the raw bytes. Swap moves output to input and flips direction.
What is Base64?
Base64 represents binary data as ASCII using 64 characters. This tool encodes and decodes UTF-8 text as standard Base64 or Base64URL, with optional MIME wrapping and a hex view of decoded bytes. Everything runs in your browser; Easy24 does not receive your input.
Why use this tool
- UTF-8 Base64 encode and decode
- Base64URL (URL-safe) mode
- MIME 76-character line wrap
- Live mode, swap, and sample
- Byte stats and hex of decoded data
- Unlimited use — no daily cap
Questions
What does Base64 Encode / Decode do?
It converts UTF-8 text to Base64 and back. Useful for embedding binary-safe text in JSON, HTML, or URLs.
What is Base64URL?
A URL-safe alphabet that uses - and _ instead of + and /, usually without = padding. Enable URL-safe for JWTs and query strings.
Can it decode a data URI?
Yes. Paste a data:...;base64,... string; the tool strips the prefix and decodes the payload.
What is MIME line wrap?
RFC 2045 often wraps Base64 at 76 characters per line. Turn on Wrap lines when a mail or MIME consumer expects that format.
Is my text sent to a server?
No. Encoding and decoding run entirely in this tab.
Is there a daily limit?
No. This tool has no daily cap.
Do I need an account?
No. Open the page and use it.
Does it work on a phone?
Yes. It runs in the mobile browser.
If Easy24 helped, buy a coffee
Tools stay free in your browser. One-time thanks via Kreosus. Turkish cards work.
Similar Convert tools
See allFile ⇄ Base64
Convert
Encode any file to Base64, Data URI, HTML, CSS, JSON, XML, or Markdown — or paste Base64 to download the file. URL-safe and MIME wrap options. Runs in this tab.
OpenImage ⇄ Base64
Convert
Convert images to Base64 or data URLs and decode them back. Live preview, HTML/CSS/Markdown snippets, MIME and pixel size — nothing uploaded.
OpenHex ⇄ Base64
Convert
Convert hexadecimal bytes to Base64 and Base64 back to hex. Spaces, 0x prefixes, URL-safe Base64, and live formatting options.
Open