Base64 Encoder & Decoder

Free, Open Source & Ad-free

Use this free Base64 encoder/decoder to quickly convert between plain text and Base64 strings. Ideal for decoding API responses or encoding data safely.

How to Use the Tool

Paste your data to encode or decode Base64. Copy the result instantly. Works for text and small image strings.

How Base64 Works

Base64 turns binary data into text so it can be transmitted safely through text-based protocols like HTTP and email.

Using Base64 in JavaScript

let text = "Hello, world!";
              let encoded = btoa(text);
              console.log(encoded); // "SGVsbG8sIHdvcmxkIQ=="

              let decoded = atob(encoded);
              console.log(decoded); // "Hello, world!"

FAQs

  • Can you decode Base64? Yes. Paste the string and copy the decoded output.
  • How to encode? Type or paste text and copy the Base64 result instantly.
  • What is Base64? An encoding scheme that represents binary data using ASCII characters.