Base64 Toolbox — Encode, Decode, Validate & Convert
← Tinker

Base64 Toolbox

Everything you need for Base64 in one place. Encode text or files to Base64, decode any Base64 string back to plain text or binary, generate data URIs for embedding images inline in HTML/CSS, switch between standard and URL-safe alphabets, and validate & inspect unknown Base64 blobs to detect their content type. Everything runs in your browser — nothing is uploaded anywhere.

No uploads · 100% client-side
Supports UTF-8 & binary files
URL-safe Base64 (RFC 4648 §5)
Magic-byte content detection
Standard Base64 · RFC 4648
Plain Text
0 chars · 0 bytes
Base64 Output
0 chars
File → Data URI / Raw Base64
📂
Drop any file here, or click to browse
Images will preview automatically
preview
URL-safe Base64 · RFC 4648 §5

Uses - and _ instead of + and / — safe for URLs, filenames, and HTTP headers without percent-encoding.

Plain Text
URL-safe Base64
Convert existing Base64

Paste standard Base64 (with +//) to get the URL-safe equivalent, or vice-versa.

Standard Base64 (+ /)
URL-safe Base64 (- _)
Validate & Inspect

Paste any Base64 string — standard or URL-safe — to check its validity, detect the content type, and peek at the decoded output.

Base64 Input

© 2026, Tinker - tools · calculators · practice games