JWT Decoder
Decode any JWT instantly — inspect header, payload, and expiry timestamps without a signing key. Free, nothing stored.
Open toolTools › Developer Tools › Base64 Encoder / Decoder
Encode text or files to Base64, or decode Base64 strings back to text or files. Supports URL-safe Base64. No signup, runs in your browser.
Base64 Encoder / Decoder is a free browser-based tool that converts text or files to Base64 and decodes Base64 strings back to their original form. Everything runs locally in your browser — no data is uploaded or stored. The tool supports standard Base64 (RFC 4648) and URL-safe Base64, and can encode any file up to 5 MB.
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It is used to safely transmit binary data — images, files, cryptographic keys — through text-only channels such as email bodies, JSON fields, and HTTP headers. The encoded output is approximately 33% larger than the original.
Standard Base64 uses + and / characters, which have special meanings in URLs and query strings. URL-safe Base64 (RFC 4648 §5) replaces + with - and / with _, and optionally strips the = padding characters. Use URL-safe Base64 for data embedded in URLs, JWT tokens, and web API parameters.
No. All encoding and decoding runs entirely in your browser using JavaScript's built-in btoa() and atob() functions. Files are read locally via the FileReader API. Nothing is uploaded or stored.
Base64 encodes every 3 bytes of input as 4 characters. When the input length is not a multiple of 3, padding characters (=) are added. One trailing = means 1 byte of padding; two == means 2 bytes. Enable the URL-safe toggle to strip padding.
Yes. Paste the Base64 string into Decode mode and click Decode. The tool detects PNG, JPEG, GIF, and WebP by their magic bytes and shows a live preview plus a download button.
Base64 encoding expands data by roughly 33% — a 5 MB file becomes ~6.7 MB of Base64 text. The cap keeps output manageable in a browser textarea. For larger files, use `base64 -i file -o file.b64` on macOS/Linux or `certutil -encode file file.b64` on Windows.
Also try
Decode any JWT instantly — inspect header, payload, and expiry timestamps without a signing key. Free, nothing stored.
Open toolFormat, validate, and beautify JSON instantly. Pretty-print with indentation or minify to one line. Free, runs in your browser.
Open toolCount words, characters, sentences, and paragraphs instantly. See reading time and keyword frequency. Free, in your browser.
Open toolGenerate cryptographically secure passwords client-side. Set length, character classes, and exclusions. Nothing leaves your browser.
Open tool