Encode, decode, and convert Base64 in your browser. Nothing leaves your machine — no uploads, no tracking, no friction.
Encoders, decoders, converters, validators — every workflow covered.
Drag-and-drop any image. Get a data URI ready to paste into HTML, CSS, or JSON.
Paste any Base64 string. Preview and download the decoded image instantly.
Encode any UTF-8 text. Standard or URL-safe.
Any file type — PDF, ZIP, font, binary.
Decode JWT tokens, API headers, config values.
Recover original files from Base64 strings.
Decode and export as lossless PNG.
Convert with adjustable quality.
Modern format, smaller file sizes.
Check if a string is valid Base64.
Calculate encoded output size before embedding.
Get HTML/CSS embed code in one click.
Complete guide to Base64 encoding and RFC 4648.
Every operation runs on native browser APIs. Your data never leaves the tab.
Drop a file, paste a string, or upload an image. It stays local.
const file = input.files[0]; FileReader, atob/btoa, and Canvas handle encoding — built into every browser.
const b64 = btoa(binary); Copy the string, download the file. Zero network requests made.
// no uploads. ever. FileReader, atob()/btoa(), and Canvas — browser APIs that never hit a network.background-image: url('data:image/png;base64,…'). The Embed Generator produces ready-to-paste CSS rules automatically.+ 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.