ALL DEVELOPER TOOLS56
Base64 Encode/Decode
Base64 Encode & Decode — Free Online Tool
Encode text or files to Base64 and decode Base64 strings — all in your browser.
About Base64 Encode/Decode
Base64 is a binary-to-text encoding scheme widely used in data URIs, email attachments (MIME), API payloads, JSON Web Tokens, and embedded resources. Whenever you need to represent binary data as plain text — for transmission through text-only protocols or embedding in source code — Base64 is the standard solution. This tool encodes plain text or a dropped file to Base64, and decodes Base64 strings back to readable text. Encoding reads a file's raw bytes, so images, PDFs, and other binary types come out as a string you can paste into a data URI or a config file, and UTF-8 text round-trips without mangling. Decoding accepts URL-safe Base64 (- and _, padding optional) as well as line-wrapped input such as PEM bodies and kubectl secret values. Use it to encode an image for a data URI, read a Base64 string returned by an API, or check what a section of a token actually contains — nothing is uploaded, so it is safe for values you would not paste into a web service.
Questions
Is my data sent to a server?
No. Encoding and decoding happen entirely in your browser using the built-in btoa/atob functions and TextEncoder/TextDecoder APIs.
Can I encode files to Base64?
Yes. Switch to File mode when encoding to upload any file and get its Base64 representation.
Does it handle Unicode text?
Yes. The tool uses TextEncoder/TextDecoder to properly handle UTF-8 characters including emoji, CJK characters, and other non-ASCII text.
Can I decode line-wrapped or URL-safe Base64?
Yes. Whitespace is stripped, - and _ are converted to + and /, and missing padding is restored before decoding — so PEM bodies, secret values wrapped at 76 columns, and JWT segments all decode without any cleanup.
Can I decode Base64 back into a file?
No — decoding always produces text. A Base64 string that encodes an image or PDF will decode to garbled characters, because the output is interpreted as UTF-8 text rather than saved back as a file.
Is my file uploaded to a server?
No. Transmute processes everything locally in your browser using JavaScript and WebAssembly. Your files never leave your device — there is no server, no upload, no cloud processing.