Base64 Encoder and DecoderEncode and decode text locally
en

AppHelp

Encode and decode Base64 without uploading text

Base64 represents bytes as text; it is not encryption. This tool encodes text using UTF-8 and decodes standard Base64 bytes using UTF-8. Anyone with the encoded value can decode it.

Converted output
SGVsbG8gQXBwSGVscA==

Common tasks

  • base64 encoder and decoder online
  • free base64 encoder and decoder
  • base64 encoder and decoder no upload
  • browser local base64 encoder and decoder
  • base64 encoder and decoder for developers
  • encode base64 tool
  • decode base64 tool
  • text base64 tool
  • url encoder and decoder online
  • free url encoder and decoder
  • url encoder and decoder no upload
  • browser local url encoder and decoder
  • url encoder and decoder for developers
  • encode url tool
  • decode url tool
  • query url tool
  • unicode escape tool
  • unicode unescape
  • uxxxx converter
  • escape non ascii
  • unicode escape tool online
  • free unicode escape tool
  • unicode escape tool no upload
  • browser local unicode escape tool
  • html entity encoder
  • html entity decoder
  • html escape
  • decode numeric entities
  • html entity encoder decoder online
  • free html entity encoder decoder
  • html entity encoder decoder no upload
  • browser local html entity encoder decoder

Quick answer

Base64 represents bytes as text; it is not encryption. This tool encodes text using UTF-8 and decodes standard Base64 bytes using UTF-8. Anyone with the encoded value can decode it.

How to use

  1. 1. Choose Encode or DecodeUse Encode for plain text and Decode for a standard Base64 value.
  2. 2. Paste and inspectResults update immediately. Decoding removes whitespace from the input; remove any data: prefix yourself.
  3. 3. Copy or swapCopy the result, or use Swap to make it the next input and switch direction for a round-trip check.

Examples

Text to Base64

Input
Hello AppHelp
Output
SGVsbG8gQXBwSGVscA==

Base64 to text

Input
5L2g5aW9
Output
你好

UTF-8 decoding preserves Unicode text.

JSON value

Input
{"status":"ok"}
Output
eyJzdGF0dXMiOiJvayJ9

Common use cases

  • Encode small text snippets for JSON, YAML, environment variables, or test fixtures
  • Decode Base64 payloads from API responses, logs, and debugging notes
  • Check whether a copied Base64 string represents readable UTF-8 text
  • Create transport-safe examples for documentation without sending content to a server

Edge cases

  • This is a text converter, not a binary file decoder. Bytes that are not valid UTF-8 may appear as replacement characters (�).
  • The URL-safe alphabet (- and _) is not supported directly. Use standard Base64 (+ and /); do not paste a complete data URL.
  • Empty or whitespace-only input shows no result. Base64 increases encoded byte size and does not protect secrets.
  • Padding with = is normal and may be required by strict decoders.

Features

  • Encode Unicode text to Base64
  • Decode Base64 back to readable text
  • Toggle between encode and decode modes
  • Runs entirely in the browser — no upload
  • Percent-encode strings for safe URL embedding
  • Decode URL-encoded text back to readable form
  • Optional ‘escape all characters’ mode
  • Browser-local processing
  • Escape non-ASCII text to Unicode \uXXXX sequences or decode fixed-width and braced Unicode escapes locally. Emoji use UTF-16 surrogate pairs.
  • In Encode mode, enable Escape all characters to include ASCII letters, spaces and punctuation.
  • Encode five HTML special characters, or decode six common named entities and decimal or hexadecimal character references, locally in your browser.
  • The result updates immediately. The output is shown as text, not executed as HTML.

Frequently asked questions

Is this Base64 tool free?
Yes. Text conversion is free and requires no account.
Does my text leave my browser?
No. All encoding and decoding runs locally in your browser using built-in JavaScript APIs.
Can it handle Unicode and emoji?
Yes. The encoder uses UTF-8 so Chinese, Japanese, Arabic, emoji, and other non-ASCII characters round-trip correctly.