Base64Auto-Detect • Encode • Decode Client-side

Smart Base64 Tool
Paste or Upload, We Detect & Convert

Drop a file or paste text. We detect whether it’s plain text or Base64 and show the right conversion. URL-safe support, optional padding removal, copy & download.

URL-safe Trim “=” padding

Input (Auto-Detect)

URL-safe
Omit padding
Soft wrap
Waiting for input

Status

Ready.
• Paste or upload anything. We’ll detect Base64 vs plain text automatically.
• When Base64 decodes to binary data, you can download the bytes as a file.
• URL-safe maps +//-/_; padding is re-added automatically when decoding.

Plain Text

Base64

Tips

  • • **Auto-detect** tries to decode Base64 first; on failure, your input is treated as plain text.
  • • **URL-safe** mode accepts -/_ and converts them appropriately.
  • • **Omit padding** only affects encoding; decoding automatically restores missing padding.
  • • If your Base64 decodes to binary (e.g., image/file), use **Download Binary** to save it.
Support the Builders

We provide these tools free of charge. If they’ve been useful, consider buying us a coffee to encourage us.