ToolBoxAlllocal toolkit
All tools

Encoding & Hashing

Base64 Encode / Decode

Encode text to Base64 or decode it back, with full UTF-8 and emoji support plus an optional URL-safe alphabet.

Encoding & HashingFreeLocal
Input
fmtText
Output
TEXT
Runs
Your browser

shortAnswer

ToolBoxAll's Base64 tool encodes and decodes text with full UTF-8 support, so Chinese characters, accents and emoji round-trip without corruption — a failure mode of plain btoa. An optional URL-safe alphabet swaps +/ for -_ and drops padding for use in query strings and JWTs.

keyFact
UTF-8 safe: Chinese and emoji survive
keyFact
URL-safe mode removes padding and swaps +/ for -_
keyFact
Decoding validates the Base64 alphabet

reviewedOn 2026-11-20

Runs in your browser · nothing is sent
0 characters

Output

Output appears here as you run the tool.

Tip: this tool runs entirely in your browser — your input never leaves the device.

How it works

three steps
  1. 01

    Choose encode or decode.

  2. 02

    Paste the text; UTF-8 and emoji are handled automatically.

  3. 03

    Copy the result or download it as a .txt file.

About this tool

Most online converters break on Chinese text because btoa only handles Latin-1. This one encodes through TextEncoder first, so 中文, accents and emoji round-trip intact. URL-safe mode swaps +/ for -_ and drops padding.

Base64 Encode / Decode · Technical specifications
InputfmtText
OutputTEXT
BatchOne at a time
Per-file limit—
ProcessingYour browser
AccountNot required