Skip to content
Motifuse
Free browser tool
Developer

Base64 Encoder / Decoder

Encode Unicode text as Base64 or decode Base64 back to readable UTF-8 text, with copying, swapping, samples, and text download.

  • Free public tool
  • No sign-up for this tool
  • Processing clearly labeled
  • Instant results

Content last reviewed

0 characters · 0 words

Full UTF-8 support: multi-byte characters (accents, emoji, non-Latin scripts) round-trip correctly, unlike a plain btoa() call. Encoding grows data ~33% — that's the format, not a bug.

Overview

Standard Base64 for UTF-8 text, with the transport limits visible

Encode Unicode text into the standard A–Z, a–z, 0–9, +, / alphabet or decode it back. The output updates locally, reports malformed input, and can be swapped into the other direction without presenting Base64 as encryption.

UTF-8 round trips

Accents, emoji, and non-Latin scripts are converted to bytes before standard Base64 encoding.

Encode and decode

A two-state control selects the direction; Swap moves a valid result into the other side.

Malformed input is reported

Invalid alphabet, padding, or byte sequences produce an error instead of a plausible-looking result.

Text copy or download

Save encoded-base64.txt or decoded-text.txt after reviewing the live output.

How it works

Using Base64 Encoder / Decoder, start to finish

Three steps, in the order the tool above actually takes them.

  1. 1

    Choose the direction

    Use Encode for plain text or Decode for a standard Base64 string.

  2. 2

    Paste text

    The page handles text only; binary files and base64url are outside this control.

  3. 3

    Check and keep the result

    Resolve any decode error, then copy, download, or Swap for a quick round-trip check.

Use cases

What people bring here

The jobs this page is usually opened for, and the setting that makes each one quick.

A text field in a transport envelope

Encode Unicode text when a text-only channel expects standard Base64.

Confirm the receiving system expects standard Base64 rather than base64url or MIME-wrapped output.

Inspecting an encoded configuration value

Decode a non-sensitive value to confirm the bytes it represents.

Readable output proves encoding only; it does not establish who created the value.

A UTF-8 round-trip test

Check that a pipeline preserves accents, emoji, and scripts outside ASCII.

Encode, Swap, and compare the decoded result with the exact original text.

Representation is not protection

Base64 changes the alphabet, not who can read the data

There is no key and no access control. Its job is to represent bytes in text-safe characters, so security decisions must happen elsewhere.

Readable payload

The unfamiliar string conceals a secret.

Anyone can decode standard Base64 with the same public mapping.

Padding

Equals signs are encryption metadata.

They complete a four-character group when the final byte group is short.

base64url

Standard Base64 is always safe in a URL segment.

The URL-safe variant substitutes - and _ and commonly omits padding; this page emits the standard alphabet.

Size

Encoding compresses text.

Four output characters represent each three-byte group, so the representation normally grows.

Privacy

Where your work is processed

Plain text and encoded text stay in this tab. They are neither uploaded nor autosaved; clipboard and text download actions happen only when selected.

Source content stays in the tab

Encoding, parsing, formatting, generation, comparison, and cryptographic operations run in browser code. Form values and uploaded text files are not sent to a processing API.

Inputs are not autosaved

Code, tokens, secrets, URLs, and generated outputs stay in component memory until the page reloads or closes. Split-pane tools remember only the divider percentage for the current tab session.

Clipboard and downloads are explicit

The page reads the clipboard only after a Paste action and writes it only after Copy. A local download is created only when you choose the tool's download control.

One aggregate page view may be counted

The page shell can send the tool slug, never the editor contents or filename. The endpoint is rate-limited using a transient requesting address and is skipped for Do Not Track or Global Privacy Control.

More detail in how processing works and our privacy policy.

Limits

The exact Base64 surface

The values this tool actually enforces, not a rounded-up version.

Input
Text only
No binary file reader is included.
Character encoding
UTF-8
Unicode text is converted before btoa or after atob.
Alphabet
Standard Base64
+ and / are used; base64url is not offered.
Persistence
None
Input and result remain in memory; divider position alone may persist for the session.

No files, base64url mode, encryption, or PEM wrapping

This tool works on text, not file uploads — there is no way to hand it a binary and get its Base64. It emits the standard alphabet only, not the URL-safe base64url variant from RFC 4648 §5, and it does not wrap output at a fixed column width the way PEM does.

FAQ

Base64 encoding questions

The ones that actually come up.

Guides

Reading that goes deeper

Find this useful? Share it.