Base64 Encoder / Decoder

All tools

Tip: JWT uses Base64URL. Paste one part (between dots) to decode.

What is Base64?

Base64 is a text-based encoding that converts binary data into ASCII characters. It’s commonly used to embed small files or safely transmit data in JSON, URLs, emails, or HTTP payloads.

Use this tool to encode plain text to Base64 or decode Base64 back to readable text. Everything runs locally in your browser.

How to use the Base64 tool

  1. Paste your text in the Input field.
  2. Click Encode to get a Base64 string (or Decode to convert Base64 back to text).
  3. Use Copy to copy the output.

Related guides

Learn the workflow behind this tool and what to check next.

Base64 checks before moving encoded data between systems

Base64 changes binary or text data into a transport-safe representation. It does not encrypt, authenticate, or validate the original content.

Text encoding

Use the expected character encoding, normally UTF-8, before encoding text so non-ASCII characters decode consistently.

Variant and padding

Distinguish standard Base64 from URL-safe Base64 and preserve or remove padding only when the receiving format requires it.

Binary integrity

For files and binary payloads, compare a checksum or byte length after decoding instead of judging the result as text.

No secrecy

Treat encoded passwords, tokens, certificates, and personal data as exposed because anyone can reverse Base64 without a key.

A practical example, an edge case, and a maintainer note

Practical example

Encode a short UTF-8 value such as café ✓ and decode it again to confirm that the system preserves non-ASCII characters.

Edge case

JWT segments use Base64URL, where - and _ replace + and / and padding may be omitted. Standard Base64 decoders can reject them.

Maintainer note

Base64 is transport encoding, not encryption. Never treat an encoded password, token, or customer record as protected.

Related tools

You may also find these tools useful.

Base64 FAQ

Is Base64 encryption?
No. Base64 is encoding, not encryption. It does not protect data.
Why does decoded text look broken?
The input may not be valid Base64, or it may represent binary data that isn’t readable as plain text.
Does Toolinix send my text to a server?
No. The conversion happens in your browser.