Convert between plain text and Base64. UTF-8 and the URL-safe variant are supported.
Your input is never sent to a server — everything runs in your browser
Input
Result
How to use
Paste text (or a Base64 string) into the input box.
Choose Encode or Decode — the result updates instantly.
Tick URL-safe when the result will be used in a URL or JWT.
What is Base64?
Base64 represents any data using only letters, digits, + and /, so binary data can travel through text-only channels — email attachments, Basic authentication, API payloads and data URLs. This tool encodes text as UTF-8, so accented characters and emoji round-trip correctly. The URL-safe variant swaps + and / for - and _ and drops the trailing =, as used in URLs and JWTs.
FAQ
Why do I get "could not be decoded"?
The input is not valid Base64 — often because of stray spaces or line breaks, or because it was cut off. This tool strips whitespace automatically, but truncated input cannot be recovered.
Is my input sent anywhere?
No. Encoding and decoding happen entirely in your browser — safe even for tokens and credentials.