Skip to content
Tool Dock

Base64 Encode

Turn text or any file into Base64, right in your browser.

Options
0 characters

Output

or press ⌘/Ctrl + Enter
  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

How to use it

  1. Type or paste text, or choose a file.
  2. Turn on URL-safe for use in URLs, or Data URI to embed it in HTML or CSS.
  3. Run it and copy the result.

Why Tool Dock

  • FastEverything runs on your own device, so there is no queue and no waiting for uploads.
  • PrivateYour files and text never leave the browser. Close the tab and they are gone.
  • Batch friendlyDrop several files at once and download each result, or all of them together.

Questions

Are my files uploaded?

No. Encoding happens in your browser, so the file never leaves your device.

What is a data URI?

Base64 with a prefix such as data:image/png;base64, so browsers can use it directly in an <img> src or a CSS url().

Why is the Base64 bigger than my file?

Base64 uses 4 characters for every 3 bytes, so the result is about a third larger than the original.

All tools