utilkit utilkit

Base64 Decode and Encode

Decode Base64 into text and encode text back to Base64 instantly in your browser.

Base64
Text

Configuration

How to use this Base64 tool

  1. Paste Base64 into the left field to decode it into readable text.
  2. Type or paste text into the right field to encode it back into Base64.
  3. Use the configuration options when you need URL-safe output, MIME-style line wrapping, separate line processing, or a specific newline separator.

When Base64 encoding helps

Base64 is useful when binary or structured text needs to travel through systems that expect plain text, such as JSON payloads, XML documents, email bodies, data URLs, configuration files, and API examples.

How the conversion works

The tool converts text to bytes in the selected character set, encodes those bytes with the browser's Base64 functions, and applies optional newline, per-line, MIME chunking, and URL-safe formatting rules. Decoding reverses URL-safe substitutions, restores padding when needed, and converts bytes back into text in your browser.

Base64 decode and encode FAQ

Is Base64 encryption?
No. Base64 is an encoding format, not encryption. Anyone can decode it back to the original data.
What does URL-safe Base64 change?
URL-safe Base64 replaces + with -, replaces / with _, and omits padding so the encoded value is friendlier for URLs and filenames.
Why can process each line and chunk lines not both be enabled?
Processing each line treats every line as a separate value, while chunking wraps one encoded value for MIME-style output. Combining them usually creates ambiguous output.
Is my text uploaded?
No. Encoding and decoding run in your browser.

Other tools in this category.