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
- Type or paste text into the input.
- Press Encode or Decode; choose URL-safe or no padding if you need it.
- Copy the output.
Example
Input
Xin chàoResult
WGluIGNow6BvFrequently 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.