URL Encode
Turn spaces, symbols and non-English letters into %XX sequences so text can sit safely inside a link or a query string. It works in your browser; nothing is sent anywhere.
- No credit card
- Never touches a server
- Three encoding modes
- UTF-8 correct
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
URL encode in three steps
No account, no email, no waiting for an upload.
- STEP 01
Paste your text or link
Add one value, a whole URL, or many lines.
- STEP 02
Choose what you are encoding
Pick a value in a link, a whole link, or form data. Tick 'Each line separately' to encode a list line by line.
- STEP 03
Copy the result
Use it in a link, a request or a config.
What URL encode does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- Value modeSame as JavaScript's encodeURIComponent: everything except letters, digits and - _ . ! ~ * ' ( ) is encoded. Right for query values.
- Whole link modeSame as encodeURI: keeps characters like : / ? & = # so a full URL still works.
- Form data modeWrites spaces as + and also encodes ! ' ( ) and ~, as HTML forms do.
- UTF-8 multi-byteAccents and emoji become correct sequences like %C3%A9.
- Line by lineEncode a column of values in one go, keeping the lines separate.
Good to know
- Pick the right modeEncoding a whole URL as a value turns :// into %3A%2F%2F, which breaks it. Use the whole link mode for that.
- Do not encode twiceAlready-encoded text gets its % signs encoded again. Decode first with URL decode.
- Broken surrogate charactersText with an unpaired surrogate cannot be encoded and gives an error.
Your data never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use URL encode
Build a query string
Encode values for redirect URLs and tracking parameters.
Prepare API requests
Safely pass search terms and filters.
Make a shareable link
Put a text with spaces and symbols into a mailto or WhatsApp link.
Handle non-English text in URLs
Convert words in any script into valid link text.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
Which mode do I need?
Use value mode for a single piece of data, such as a search term or a redirect target placed after an equals sign. Use whole link mode when you have a complete URL and only want to fix characters like spaces or accents. Use form mode to copy what a browser sends when an HTML form is submitted.
- Value: a b&c becomes a%20b%26c.
- Whole link: https://x.com/a b stays https://x.com/a%20b.
- Form: a b&c becomes a+b%26c.
Common mistakes
Most problems come from encoding the wrong thing or encoding twice. If a link still breaks, check that you did not encode the slashes of the path, and that & and = signs between parameters were left alone. For text going into HTML instead of a URL, use the HTML entity encoder. To embed binary data, use Base64 encode.
An example: URL encode
To pass the search term café & crème as a query value, use value mode and get caf%C3%A9%20%26%20cr%C3%A8me. Build the link as https://example.com/search?q= followed by that text. The same text in form mode becomes caf%C3%A9+%26+cr%C3%A8me, which is what a browser sends when a form is submitted.
Questions, answered
What does URL encoding do?
It replaces unsafe characters with a percent sign and two hex digits, so the text is valid inside a URL.
Are the links and parameters I encode uploaded?
No. Encoding is a function that runs in this tab, so tracking parameters and tokens are not sent anywhere.
What is the difference between the modes?
Value mode encodes nearly everything, whole link mode keeps URL punctuation, and form mode uses + for spaces.
Why is my space a plus sign?
That is form data encoding. Choose the value or whole link mode to get %20.
How do I decode it again?
Use URL decode.
Can I encode links on my phone?
Yes. Paste or type the value in a current mobile browser and copy the encoded text.