URL to Base64

Paste a link to any public file, such as an image, PDF or font, and the converter downloads it and returns its Base64 content. If you just want to encode the URL text (for example to pass it as a parameter), choose “Encode the URL string”.

How to convert URL to Base64 online

  1. Paste the URL.
  2. Choose whether to encode the remote file content or the URL string.
  3. Click Encode URL to Base64.

How remote files are fetched

The browser tries to download the file directly. If the remote server blocks cross-origin requests, the download is relayed through our API, which only connects to public internet addresses and never stores the file.

Frequently asked questions

How do I convert an image URL to Base64?

Paste the image link and click "Encode URL to Base64". You will get a data URI you can use in HTML or CSS.

Related tools and guides

Comments (0)

Questions, ideas or a bug in “URL to Base64”? Leave a comment, rate the tool, or reply to others.

No comments yet. Be the first to share your feedback!

Leave a comment

Rate this tool:
Esc
↑ ↓ move↵ openEsc close