Base64 vs URL encoding: what's the difference?
Two encoding schemes that sound similar and are constantly confused. Here's what each one does, where they're used, and why you shouldn't mix them up.
Encode and decode Base64 strings online
Base64 encoding is used everywhere — from embedding images in HTML and CSS to passing binary data through JSON APIs and email. This tool encodes text or files to Base64 strings, or decodes them back, entirely in your browser.
Select Encode to convert text or a file to Base64, or Decode to reverse a Base64 string.
Type or paste text into the input field, or upload a file to encode.
The output appears instantly. Click Copy to copy the Base64 string to your clipboard.
Convert plain text or binary data to Base64 and back with a single click.
Encode binary files such as images or PDFs directly to a Base64 string.
Output updates as you type — no button press required.
All processing is done locally in your browser. Nothing is sent to any server.