Free Base64 Encoder / Decoder
Encode and decode text, files, images, URLs, and Data URIs. No login. No upload. Everything happens in your browser.
Your data never leaves your browser — all encoding and decoding runs locally with no server, upload, or tracking.
Input
0 chars · 0 B
Output
File → Base64
Drop a file here or click to browse
Everything stays on your device
Base64 → File
Image → Base64 / Data URI
Drop an image, click to browse, or paste (Ctrl+V)
PNG, JPEG, WebP, GIF
Preview
No image loaded yet.
Copy snippets
Data URI
Result
Decode a Data URI to see it here.
Copy snippets
Standard ↔ URL-safe
Output
Standard uses + / and = padding.
URL-safe swaps them for - _ and usually drops padding, so the
value is safe inside URLs, filenames, and JWTs.
Inspect Base64
Metadata
Paste Base64 and click Inspect.
Developer snippets
Copy ready-to-use Base64 encode/decode code for your language.
What is Base64?
Base64 is a way to represent any binary data — text, images, files — using only 64 safe characters
(A–Z, a–z, 0–9, plus two symbols). It lets you embed or transmit binary
content through systems that only expect text, such as JSON payloads, data URIs, email, and URLs.
Standard Base64 vs URL-safe Base64
Standard Base64 uses + and /, which have special meaning in URLs. URL-safe Base64
replaces them with - and _ and usually removes the = padding, so the value
can be dropped into a URL, filename, or JWT without escaping. This tool converts between the two losslessly.
Why Base64 makes files larger
Base64 encodes every 3 bytes as 4 characters, so encoded output is about 33% larger than the original. That's the trade-off for text-safe transport — the inspector shows the exact expansion for your input.
Your data stays in your browser
This tool uses your browser's built-in APIs. Nothing is uploaded, stored, logged, or tracked. There is no account, no watermark, and no external service in the middle — you can even use it offline.
Built by Balance On Hand
Free tools with no login, no upload, and no unnecessary friction — plus a cash-flow planning app that helps you see how bills, subscriptions, loans, income, and spending affect your future balance.