Skip to content

Encoding

Base64 encode and decode

UTF-8 safe Base64 for text, with URL-safe and no-padding options.

Private Everything on these pages runs in your browser. What you type is never sent to a server and nothing is stored.

How to use it

  1. Type or paste text into the input.
  2. Press Encode or Decode; choose URL-safe or no padding if you need it.
  3. Copy the output.

Example

Input

Xin chào

Result

WGluIGNow6Bv

Frequently asked questions

Is Base64 encryption?

No. Base64 is a reversible encoding for carrying bytes as text. Anyone can decode it, so it does not protect secrets.

What is URL-safe Base64?

It replaces + and / with - and _ so the result can be used in URLs and file names without escaping. The padding = is often dropped as well.

Related articles