Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings instantly. Supports URL-safe encoding and file upload. Free, no account needed.
About Base64
Encode Text
Convert any text or binary data to a Base64-encoded ASCII string
Decode Base64
Convert Base64-encoded strings back to their original text content
URL-Safe Mode
Uses URL and filename-safe alphabet, replacing + with - and / with _
File to Base64
Upload any file and get its pure Base64 representation — images, PDFs, documents, and more
Learn More
Base64 is everywhere in web development. Learn how it works, when to use it, and common pitfalls.
What Is Base64?
Base64 is an encoding scheme that converts binary data into a string of ASCII characters. It uses 64 safe characters (A-Z, a-z, 0-9, +, /) to represent any binary data, making it safe for transmission over text-based protocols like HTTP headers, email (MIME), and JSON.