Skip to main content
DevFlow AIDevFlow AI
ToolsDocsFavoritesHistorySettings
Star on GitHubContribute

Free & open source

DevFlow AIDevFlow AI
ToolsDocsFavoritesHistorySettings
Star on GitHubContribute

Free & open source

DevFlow AIDevFlow AI
ToolsBase64 Encoder/Decoder

Base64 Encoder/Decoder

Encode and decode Base64 with URL-safe variant support

Help
Base64 configuration
Text view
Smart preview
Byte inspector
Batch
Raw payload0 characters

Enter text and press Encode or Decode

Supports Unicode, URL-safe variant, and data URLs

About this tool

The Base64 Encoder/Decoder converts text to and from Base64 in your browser. Encode strings for data URIs, API payloads, or config, and decode Base64 back to readable text β€” instantly and offline. It handles UTF-8 correctly and supports URL-safe variants, making it a quick way to inspect or produce Base64 without command-line tools.

How to use it

  1. Choose a mode. Select Encode to convert text to Base64, or Decode to convert Base64 back to text.
  2. Enter your input. Paste the text or Base64 string into the input area.
  3. Get the result. The converted output appears instantly as you type.
  4. Copy the output. Copy the encoded or decoded result to your clipboard with one click.

Frequently asked questions

Is the Base64 tool free?
Yes. It is free and open source, with no login and no limits.
Is my data uploaded to a server?
No. Encoding and decoding run locally in your browser; nothing is sent to a server.
Does it support UTF-8, accents, and emoji?
Yes. It correctly handles UTF-8 text, including non-ASCII characters and emoji.
What is the URL-safe variant?
A Base64 variant that replaces + and / with - and _ so the output is safe in URLs and filenames.
Can I decode a Base64 data URI?
Yes. Paste the Base64 portion (the part after the comma) to decode its contents.