Base64 Encoder / Decoder

Encode text or files to Base64, or decode Base64 strings back to readable text.

0 characters
0 characters
0 characters
Invalid Base64 input. Please check your string and try again.
0 characters
📁
Click to select a file, or drag and drop here
Any file type supported

Image Preview

Preview

How to use

  • Encode: Type or paste text into the input box — Base64 output is generated instantly
  • Check "URL-safe" to replace + and / with - and _ (safe for use in URLs and filenames)
  • Check "Line breaks" to wrap output at 76 characters per line (MIME standard)
  • Decode: Paste a Base64 string — the decoded text appears instantly. URL-safe variants are auto-detected
  • File Encode: Select or drag any file to get its Base64 data URL. Images will show a preview
  • Use Copy Output to copy results to your clipboard

About this Base64

Use this free Base64 encoder and decoder to convert plain text to Base64 or decode Base64 back into readable text. It is useful for developers, testing, troubleshooting, and data formatting. No signup is required, and the tool works on phones, tablets, and desktop browsers.