Base64 Tools

Base64 Decode and Encode Tool

Decode Base64, encode UTF-8 text, and fix common Base64 decode errors such as invalid characters, missing padding, and Base64URL input.

  • Runs in your browser
  • No account required
  • Copy-ready output

Input

Paste text or Base64, then choose an action
Base64
Fix Decode Error

Output

Copy-ready result
Result

Encode UTF-8 text into Base64

Decode Base64 strings back to readable UTF-8 text

Support Chinese, emoji, and other Unicode characters when encoding or decoding

Point malformed Base64 input to padding, invalid character, and Base64URL fixes

Notes

How this tool handles your input

This Base64 tool converts readable UTF-8 text into Base64 and decodes Base64 back to text. If a copied value fails because of invalid characters, missing padding, newlines, or Base64URL characters, open the fixer from this page and inspect the repaired value before using it.

How to use

  1. Type or paste text into the input area.
  2. Choose Encode to create Base64 or Decode to read a Base64 string.
  3. If decoding fails, open Fix Decode Error and inspect the copied value.
  4. Copy the result from the output area.

Good for

  • Decode API tokens or headers you are inspecting
  • Encode short test values for requests
  • Check whether Base64 content is valid UTF-8 text
  • Move failed decode input into the Base64 Error Fixer

Examples

Encode text

Input
Hello 1024base
Output
SGVsbG8gMTAyNGJhc2U=

Decode Base64

Input
SGVsbG8sIDEwMjRiYXNl
Output
Hello, 1024base

FAQ

Does this support Chinese text?

Yes. The tool uses UTF-8, so Chinese and other Unicode characters are handled correctly.

Is Base64 encryption?

No. Base64 is an encoding format, not encryption. Anyone can decode it.

Why does decoding sometimes fail?

The input may contain characters outside the Base64 alphabet, missing padding, URL-safe Base64 characters, copied line breaks, or bytes that are not valid UTF-8 text.

Can this decode URL-safe Base64?

The standard decoder handles standard Base64 text. For URL-safe variants, use the Base64 Error Fixer linked on this page to normalize dash, underscore, and padding first.

Is my data uploaded to a server?

No. The tool runs in your browser, so the text you paste stays on your device.