File to Base64

Convert files to Base64 / data URL and back. Free, no sign-up, files stay on your device.

Choose a fileor drag and drop a file here

🔒 100% private — processing happens in your browser. Nothing is uploaded.

Convert files to Base64 and back

  1. Choose File → Base64 and drop any file — image, PDF, font…
  2. Copy the Base64 string or data URL to embed it in HTML, CSS or JSON.
  3. Or paste Base64 in Base64 → File mode to get the original file back.

Useful for developers embedding small images or sending files through text-only APIs. Conversion happens locally in your browser.