⚡ Text, File & Image Support

Base64 Encoder & Decoder

Fast, secure, and client-side Base64 encoding and decoding. Convert text, raw files, or images instantly with URL-safe support.

URL-Safe (-, _)
0 chars
0 chars

How to use Base64 Encoder & Decoder

  1. Choose Encode or Decode, and text or file mode.
  2. Type or paste your text, or pick a file or image.
  3. Copy the result or download it. Images can also be copied as a Data URI.

Features

Text, files and images
Encode plain text, any file, or an image into Base64 and back.
Data URI output
Get a ready-to-use data: URI for images to paste into HTML or CSS.
URL-safe option
Produce URL-safe Base64 for tokens and query strings.

Frequently asked questions

What is Base64?

Base64 turns binary data into plain text characters, so files and images can be sent inside text formats like JSON, email or HTML.

Is Base64 encryption?

No. Base64 is only an encoding. Anyone can decode it, so don't use it to protect secrets.

Are my files uploaded?

No. Encoding and decoding happen in your browser.

Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.

Related tools

View all

Share this Tool

Did Base64 Encoder & Decoder work well for you?