Base64 Encode / Decode
Encode text or files to Base64 and decode them back. Runs locally.
About this tool
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support and an optional URL-safe variant. Handy for data URIs, tokens, basic-auth headers and config files.
How to use it
- 1 Type or paste your text or Base64.
- 2 Click “Encode →” or “← Decode”.
- 3 Toggle “URL-safe” if you need the URL/filename-safe alphabet.
- 4 Copy the result.
Frequently asked questions
What is URL-safe Base64?
A variant that replaces + and / with - and _ and drops padding, so the result is safe to use in URLs and filenames.
Does it handle non-English characters?
Yes, it encodes and decodes UTF-8 correctly, including emoji and Indian-language text.
Is anything uploaded?
Everything runs in your browser, so your data never leaves your device.