A URL can only hold certain characters. A space, an & or a ? inside a link will break it or change what it means. It converts text into its percent-encoded form, so it travels safely inside a link — and converts it back when you need to read it.
Encode or decode
- Paste or type your text into the “Input” box. A short sample is already there — swap in your own text.
- Click “Encode component” to make it URL-safe, or “Decode” to turn encoded text back into normal text.
- Read the result in the output box below the buttons, then click “Copy result” to copy it, or “Download result” to save it as a file.
The mistakes
- Try “Hello World” first. Encoding it gives “Hello%20World” — the space becomes %20. If you see that, the tool is working.
- Encode the value, not the whole link. Encode only the part after the = sign in a link. Encoding the whole URL also encodes the :// and the ?, and the link stops working.
- Decoding twice can change the text. A %25 in the text is a real percent sign, not the start of a code. Decode once, check the result, and only decode again if the % codes are still showing.
- Use it before pasting text into a link. A search term or a name with spaces and & in it will break a link if it goes in raw. Encode it first and the link arrives intact.
- Your text stays on your device. Encoding and decoding happen in the browser, so nothing is uploaded.