File to URL encoder

Percent-encode a file or some text so you can use it safely in a web address or a form field. Drop a file in the box or type text; the result appears as you go.

Drop your file here

Choose file

Elk soort bestand · of plak met Ctrl+V

How it works

  1. Choose a file or type text

    Drop a file in the box, choose it on your device or type text.

  2. Encoded instantly

    The URL-codering result appears at once; change the options if you like.

  3. Copy or download

    Copy the text with one click or save it as a .txt file.

What is URL encoding?

Web addresses may only contain a small set of characters. URL encoding (percent-encoding) replaces every other byte with % followed by two hexadecimal digits: a space becomes %20, and é becomes %C3%A9. Letters, digits and - . _ ~ stay as they are.

Encode everything

Tick Also encode letters and digits to turn every single byte into a %XX code. That is rarely needed, but some filters and tests ask for it.

Private by design

The encoding happens in your browser. Nothing is uploaded.

Frequently asked questions

Is the file to URL encoding free?

Yes. The file to URL encoding is completely free, with no account, sign-up or usage limit.

Which files can I encode?

Any kind of file: images, PDFs, documents, audio or text. You can also type or paste text directly.

Is my file uploaded?

No. The encoding happens in your browser; your file doesn't leave your device.