Base64 Encode & Decode — Free Online Tool

Encode text or files to Base64 and decode Base64 strings — all in your browser.

How It Works

  1. 1Paste your text or Base64 string into the input area.
  2. 2Choose whether to encode or decode.
  3. 3Copy the result with one click.

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 files to Base64 and decodes Base64 strings back to readable text or downloadable binary files. It handles UTF-8 text and binary data correctly, including images, PDFs, and other file types. Use it to encode an image for a data URI, decode a Base64 string from an API response, verify the contents of a Base64-encoded email attachment, or convert binary configuration data for inclusion in a JSON or XML file. The tool supports both standard Base64 and URL-safe Base64 variants.

From the blog

Frequently Asked 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.

Is my file uploaded to a server?

No. Transmute processes everything locally in your browser using JavaScript and the Canvas API. Your files never leave your device — there is no server, no upload, no cloud processing.

Related Tools