Base64 Encoder

Encode & decode Base64 for text, files, images & URL-safe variants. Live preview, drag-and-drop file support, stats & conversion history.

Ctrl/⌘ + , to toggle options
Saved
Line Wrap
Auto-Encode
Charset
0
Input Size
0
Output Size
0%
Size Change
0
Lines
Conversion History

◆ What it does

Encode and decode Base64 strings with support for text, file upload, image preview, and URL-safe Base64 variants. Includes live preview, size statistics, and conversion history.

▸ How to use

  • Text tab: paste text and encode/decode with live preview
  • File tab: drag & drop any file to get its Base64 representation
  • Image tab: paste a Base64 string to preview the image
  • URL-Safe tab: encode/decode with URL-safe Base64 (+ → -, / → _)
  • View stats: encoded size, decoded size, and compression ratio

▸ Why use this

  • Encode text and files to Base64 for embedding in code
  • Decode Base64 strings back to readable text or files
  • Preview Base64-encoded images instantly
  • URL-safe Base64 for use in URLs and filenames
  • Track conversion history for quick reference