All tools

Base64 Encode/Decode

Encode or decode text and files to Base64

What is Base64?

Base64 is a way to convert binary data to ASCII text. It is often used to embed images in HTML/CSS, send data in URLs, or store binary files as text. Every 3 bytes are converted to 4 characters, making the output ~33% larger.

Privacy: Everything is processed locally in your browser.

About Base64 Encoder/Decoder

Base64 is how binary data — images, files, credentials — travels safely through systems that only handle text, like JSON payloads, data URIs, email attachments and HTTP headers. This free tool encodes text or files to Base64 and decodes Base64 back to the original in one place, which is a daily essential when you're debugging an API, embedding a small image in CSS, or inspecting a token. Everything runs in your browser, so whatever you paste or upload is never sent to a server.

How to use Base64 Encoder/Decoder

  1. 1

    Enter or paste content

    Type text or paste content you want to encode, or paste a Base64 string to decode.

  2. 2

    Choose direction

    Select encode (text to Base64) or decode (Base64 to text) mode.

  3. 3

    Copy result

    Copy the encoded or decoded result to your clipboard.