The fastest, cleanest Base64 tool online. Encode text, decode strings, convert files — all in your browser.
Convert any image (PNG, JPG, GIF, SVG, WebP) into a Base64 encoded string for use in HTML or CSS.
Convert any file into Base64 — perfect for embedding binaries, documents, or assets inline.
Encode PDF files to Base64 for embedding in JSON, XML, email, or web API payloads.
Encode and decode text using the Base32 alphabet — useful for TOTP tokens and case-insensitive systems.
See how to encode/decode Base64 in PHP using the built-in base64_encode() and base64_decode() functions.
Python's base64 module provides b64encode() and b64decode() for Base64 operations.
Use the built-in btoa() and atob() functions in JavaScript to encode and decode Base64 strings.
Java's java.util.Base64 class provides static methods to encode and decode Base64 data.
Convert images to Base64 encoded strings for use in HTML img tags, CSS backgrounds, or data URIs.
Supports PNG, JPG, GIF, SVG, WebP, BMP — max 10MB
Encode any file — PDF, ZIP, DOCX, audio, video — to Base64. Runs entirely in your browser. No uploads to server.
PDF, DOCX, ZIP, MP3, MP4, and more — max 50MB
Encode or decode text using the Base32 alphabet (RFC 4648). Commonly used in TOTP (2FA) tokens and DNS records.
Copy-paste ready Base64 encode and decode examples for 13 languages and platforms.