Skip to content

Base64 Encoder and Decoder

Convert text to Base64 and back, with UTF-8 and URL-safe support.

base64.sh

How to use Base64 Encoder / Decoder

  1. 01Paste your text or Base64 string into the box.
  2. 02Pick Encode or Decode — the result appears as you type.
  3. 03Switch on URL-safe mode if the value will be used in a query string.

About Base64 Encoder / Decoder

Base64 represents binary data using 64 printable characters, which is how images, tokens and attachments travel through systems that only handle text. It always makes data about a third larger.

Base64 is an encoding, not encryption. Anyone can decode it in a second, so never use it to hide passwords or personal data — use it only for transport.

Frequently asked questions

Is Base64 encryption?
No. It is a reversible encoding that anyone can decode. It provides no security.
What is URL-safe Base64?
A variant that replaces + and / with - and _ so the value can be used in a URL without escaping.
Does it support non-English characters?
Yes, text is encoded as UTF-8 before conversion, so accents and emoji round-trip correctly.

Related tools and tools