ToolPad
Runs locally in your browser. Nothing you paste is sent to a server.

Base64 Encode / Decode

Encode or decode Base64 strings instantly. Runs locally in your browser.

Runs locally in your browser. Nothing you paste is sent to a server.
Input

Text (Input)

0 chars · 0 words · Size: 0 B
1

Output

Tip: You can verify in DevTools → Network that nothing is uploaded.

Encoding options

Base64 variant
Character encoding: UTF-8 (always used)

About this Base64 Tool

Use this tool to encode text to Base64 or decode Base64 strings back to text. Supports standard Base64 and URL-safe variants. Everything runs locally in your browser — nothing you paste is sent to a server.

Features
  • Encode text to Base64 format
  • Decode Base64 back to original text
  • URL-safe Base64 variant support
  • Proper Unicode/UTF-8 handling
Tips
  • Enable Auto to convert as you type
  • Use URL-safe variant for URLs and filenames
  • Upload text files to encode/decode
  • Invalid Base64 will show an error message

FAQ

Is my text uploaded to a server?

No. Encoding and decoding happen locally in your browser. Nothing you paste is sent to a server.

What's the difference between standard and URL-safe Base64?

URL-safe Base64 uses - and _ instead of + and /, and removes padding =. This makes it safe to use in URLs and filenames without encoding.

Does this support Unicode characters?

Yes. The tool uses UTF-8 encoding, so it properly handles Unicode characters, emojis, and special symbols.

What happens if I try to decode invalid Base64?

An error message will appear below the input panel. The output will remain empty until you provide valid Base64 input.

Can I upload large files?

Yes, but extremely large files may be slow depending on your device. The current limit is 5MB.

Can I use it offline?

After the page loads once, it will typically keep working if you go offline (unless you hard refresh with no cache).