64

Base64 Encoder / Decoder

Encode and decode Base64 strings instantly. URL-safe mode supported. All processing in your browser.

Input
Output

How to Use

  1. Enter or paste the text you want to encode (or a Base64 string you want to decode) into the input area.
  2. Choose Encode to convert your text to Base64, or Decode to convert a Base64 string back to readable text. Enable URL-safe mode if you need the result for URLs.
  3. Copy the output with one click. Use the swap button to quickly reverse encode and decode modes.

Frequently Asked Questions

Is Base64 encryption?
No, Base64 is encoding, not encryption. It transforms data into a text-safe format but provides no security. Anyone can decode a Base64 string back to its original form.
What is URL-safe Base64 mode?
Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe mode replaces them with - and _ and strips padding, making the output safe for query strings and paths.
Can I encode binary files?
For text-based encoding, yes — paste the Base64 representation of your file. For actual binary file-to-Base64 conversion, you'll need a tool that reads file bytes. This tool works with text input and output.