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
- 01Paste your text or Base64 string into the box.
- 02Pick Encode or Decode — the result appears as you type.
- 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
tools
JSON Formatter
Paste JSON to pretty-print, minify or validate it, with the exact position of any error.
tools
Text Case Converter
Switch text between uppercase, lowercase, title, sentence, camel, snake and kebab case.
tools
Password Generator
Generate strong random passwords with the length and character types you choose.
tools
Timestamp Converter
Convert between Unix epoch time and readable dates, in seconds or milliseconds.