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

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

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.