DevsToolkit

Base64 Encode/Decode

Encoding

Encode text to Base64 or decode Base64 to text

All processing happens locally in your browser — your data never leaves your machine.
Loading tool...

Examples

Encode Text

Input
Hello, World!
Output
SGVsbG8sIFdvcmxkIQ==

Encode JSON

Input
{"api_key": "secret123"}
Output
eyJhcGlfa2V5IjogInNlY3JldDEyMyJ9

Decode Base64

Input
VHlwZVNjcmlwdCBpcyBhd2Vzb21l
Output
TypeScript is awesome

Frequently Asked Questions

What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It's commonly used to embed binary data in text-based formats like JSON, HTML, or email.
Does this support UTF-8?
Yes. The encoder/decoder fully supports UTF-8 text, including multi-byte characters like emoji and non-Latin scripts.

Related Tools