Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 back to plain text.
Base64 Encoder/Decoder
Use - and _ and drop = padding.
Your data is processed locally in your browser and is not uploaded to OZVILO servers.
How to use the Base64 Encoder/Decoder
- 1Choose Encode or Decode.
- 2Paste your text or Base64 string — the output updates as you type.
- 3Turn on URL-safe mode if the result will be used in a URL or filename.
- 4Copy or download the output, or use Swap to reverse the conversion.
Examples
Encode
- Input
- Hello, World!
- Result
- SGVsbG8sIFdvcmxkIQ==
Emoji
- Input
- 🎉
- Result
- 8J+OiQ==
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect passwords or sensitive data.
Does it support emoji and non-English text?
Yes. Text is converted to UTF-8 bytes before encoding, so accents, scripts such as Arabic or Chinese, and emoji encode and decode correctly.
What is URL-safe Base64?
It replaces + and / with - and _ and removes = padding, so the result can be used in URLs and filenames. The decoder accepts both forms.
Why does decoding say the data isn't valid text?
The Base64 decoded successfully, but the bytes aren't UTF-8 text — they may represent an image or another binary file. This tool decodes text only.
Related tools
- Available
JSON Formatter & Validator
Beautify, minify and validate JSON with clear error messages.
Developer ToolsOpen tool - Available
URL Encoder/Decoder
Percent-encode or decode URLs and query strings safely.
Developer ToolsOpen tool - Available
UUID Generator
Generate secure random version 4 UUIDs, one at a time or up to 1,000 at once.
Developer ToolsOpen tool - Available
SHA-256 Generator
Create SHA-256 hashes of text or files in your browser and check them against an expected hash.
Developer ToolsOpen tool