Free Privacy-first · Client-side · No account

Base64 tools
built for devs

Encode, decode, and convert Base64 in your browser. Nothing leaves your machine — no uploads, no tracking, no friction.

Zero server round-trips 40+ tools Open source
base64_encode LIVE
100% Client-side
atob() · btoa() · FileReader
Instant results
No round-trips, no waiting
40+ tools
Encode · decode · convert
Open source
MIT · GitHub
01ALL TOOLS

Everything you need
for Base64

Encoders, decoders, converters, validators — every workflow covered.

Image to Base64

Drag-and-drop any image. Get a data URI ready to paste into HTML, CSS, or JSON.

data:image/png;base64,iVBORw0KGgoAAAA…
Encoder
B64

Base64 to Image

Paste any Base64 string. Preview and download the decoded image instantly.

iVBORw0KGgoAAAA…→image.png
Decoder
↓

Text → Base64

Encode any UTF-8 text. Standard or URL-safe.

Encoder

File → Base64

Any file type — PDF, ZIP, font, binary.

Encoder

Base64 → Text

Decode JWT tokens, API headers, config values.

Decoder

Base64 → File

Recover original files from Base64 strings.

Decoder

Base64 → PNG

Decode and export as lossless PNG.

Converter

Base64 → JPEG

Convert with adjustable quality.

Converter

Base64 → WebP

Modern format, smaller file sizes.

Converter

Validator

Check if a string is valid Base64.

Utility

Size Calculator

Calculate encoded output size before embedding.

Utility

Embed Generator

Get HTML/CSS embed code in one click.

Utility

What is Base64?

Complete guide to Base64 encoding and RFC 4648.

Reference
02HOW IT WORKS

Zero server contact.
By design.

Every operation runs on native browser APIs. Your data never leaves the tab.

01

You provide input

Drop a file, paste a string, or upload an image. It stays local.

const file = input.files[0];
02

Browser API encodes

FileReader, atob/btoa, and Canvas handle encoding — built into every browser.

const b64 = btoa(binary);
03

Output is yours

Copy the string, download the file. Zero network requests made.

// no uploads. ever.
03FAQ

Common questions

Is my data really private?
Yes. Open DevTools → Network while using any tool — you will see zero POST requests. All operations use FileReader, atob()/btoa(), and Canvas — browser APIs that never hit a network.
What is Base64 encoding?
Base64 converts binary data into ASCII text using 64 printable characters. It is used to embed images in HTML/CSS, transmit files in JSON APIs, and encode email attachments. The encoding adds ~33% size overhead. Full guide
How do I embed an image in CSS?
Encode your image with the Image Encoder, then use: background-image: url('data:image/png;base64,…'). The Embed Generator produces ready-to-paste CSS rules automatically.
Standard vs URL-safe Base64?
Standard Base64 uses + and / which break in URLs. URL-safe Base64 (RFC 4648 §5) replaces them with - and _, making it safe for query strings and JWT tokens. Use the URL-Safe Encoder.