Nothing uploaded
URL encoder and decoder
Encode text for use in a web address, decode %20-style escapes back to text, and see a URL’s parts and query parameters at a glance.
Encoded text
Type or paste text to encode.
Parts of the URL
| Part | Value |
|---|---|
| Scheme | |
| User name | |
| Password | |
| Host | |
| Port | |
| Path | |
| Fragment (#) |
Query parameters
| Name | Value |
|---|
This URL has no query parameters.
What you type stays on this device. Nothing is uploaded.
Did this save you time? DigiTools is free, with no ads and no sign-up. Leave a tip (opens in a new tab) to help keep it that way.
How to encode or decode a URL
- Choose Encode or Decode, and whether the text is a single value or a whole URL.
- Type or paste your text. The result appears as you type.
- Copy the result. For a full URL, its parts and query parameters are listed below.
Questions
Are my URLs sent anywhere?
No. Everything happens in your browser on this device. Links often contain tokens, session IDs and email addresses; here they never leave your device.
What’s the difference between a value and a whole URL?
A value, such as a search term in ?q=…, has every special character encoded, including / ? & and =, like encodeURIComponent. A whole URL keeps the characters that give it its structure, like encodeURI, so it still works as a link.
Why is a space sometimes + and sometimes %20?
Both mean a space. %20 works anywhere in a URL; + means a space only in query strings sent by web forms. Turn on Spaces as + to write or read that form style.
What does “isn’t valid UTF-8” mean?
Escapes like %C3%A9 are the bytes of a character in UTF-8, the standard today. An escape like %E9 on its own comes from an older encoding (Latin-1) and can’t be read as UTF-8.