Convert text to Base64 or decode Base64 back to plain text instantly. Supports standard and URL-safe variants. Everything stays in your browser.
+ with - and / with _, and omits padding. Safe to use in URLs and filenames without encoding.btoa() / atob() APIs. Nothing is sent to any server.Switch between Encode and Decode modes with a single click. Paste your raw text to get a Base64 string, or paste a Base64 string to decode it back to plain text instantly.
Encode plain text, JSON payloads, HTML snippets, or any UTF-8 content. Also supports decoding Base64-encoded image data URIs back to readable form.
Encoding and decoding happens entirely in your browser using the built-in atob() and btoa() functions. Your data never touches any server — critical for sensitive credentials and tokens.
Base64 encoding converts binary or text data into an ASCII string using 64 printable characters (A–Z, a–z, 0–9, +, /). It is used to safely transmit binary data over text-based protocols like HTTP headers, email (MIME), HTML data URIs, and JSON payloads. It is also used to encode credentials in Basic Authentication headers.
No. Base64 is encoding, not encryption. Encoded data can be decoded by anyone who knows it is Base64 — no key or secret is required. Never use Base64 to "hide" sensitive data. Use it only for safe data transport in text-based systems. For security, use proper encryption (AES, RSA) instead.
Base64 encodes 3 bytes at a time into 4 characters. If the input length is not a multiple of 3, padding characters (=) are added to make the output a multiple of 4 characters. One = means 1 byte of padding was added; two = means 2 bytes of padding.