—
Text and files are transformed locally with browser APIs; this tool performs no upload.
Encode text or files to Base64, or decode Base64 back to text, with an optional URL-safe mode, all in your browser.
—
Text and files are transformed locally with browser APIs; this tool performs no upload.
Base64 Encoder / Decoder turns text into Base64 and back again using your browser's own encoding APIs, with an optional URL-safe mode that swaps the characters that break in URLs and filenames. A separate file box converts a whole file to a Base64 string you can copy. It suits developers embedding small assets or debugging encoded payloads without sending anything to a server.
No. The file box only encodes a file to Base64 text; there is no matching option to turn a Base64 string back into a downloadable file.
It replaces + with - and / with _, and removes trailing = padding, which is the variant commonly used inside URLs, filenames and tokens.
If the text contains characters that are not Base64, the tool shows 'Invalid Base64 input.' Valid Base64 that decodes to binary data rather than UTF-8 text is shown with replacement characters.
There is no fixed limit in the tool itself; a file is read entirely into memory before conversion, so very large files are limited by your device and browser.