logo

Text

Base64 Encode/Decode

Convert text or files to Base64, or decode Base64 back to text or a file. URL-safe mode, no padding, PEM-style line wraps, and Data URL support — everything runs in your browser.

Base64 Encoder
Client-side onlyFast & private
Mode
Input type
Encoding details

+ → - and / → _

Strip trailing =

PEM/MIME line breaks

Output as Data URL

Prefix with data:[mime];base64,

Input

Tip: Data URLs like data:image/png;base64,... are supported.

Output

Standard

Tips

  • Use URL-safe when embedding Base64 in URLs or JWTs (+-, /_).
  • Enable No padding to strip trailing = characters.
  • Use Wrap at 76 for PEM/MIME blocks (email, certs).