URL Encoder and Decoder
This tool makes reserved and non-ASCII characters safe for a URL component and reverses percent-encoded text when the input represents a component.
Workspace
What this tool does
The URL Encoder and Decoder is meant to convert text to and from percent-encoding for use in URLs: spaces become %20, & becomes %26, and ? becomes %3F. Encoding keeps special characters from breaking a link or being misread as part of the URL structure.
How to use this tool
- Type or paste your text into the input box above.
- Click Process.
- Read the output shown under the input.
- Check whether any character was actually percent-encoded (or decoded) before using the result in a URL.
Worked example
We tested this exact input: hello world & friends?
The workspace returned: URL Encoder and Decoder Input: hello world & friends? Length: 21 characters Processing complete!
That is only an echo of the input with a character count. A correct percent-encoded form would be hello%20world%20%26%20friends%3F. The workspace did not produce that form: the spaces, ampersand, and question mark were all left unchanged.
Limitations
Important limitation — generic stub workspace: As tested, this workspace is a generic stub. It only echoes the input back with a single character-length total and the words “Processing complete!” It does not encode, does not decode, offers no encode/decode choice, and does not show which characters were changed. Do not use it to encode or decode URLs until the workspace is fixed. Unicode characters, plus-sign handling, double encoding, and invalid percent sequences have not been verified here.
Note: this page has two workspaces. The top Process box only echoes your input. Scroll below the article to the tool app — that one gives the correct result.
Frequently asked questions
What does URL encoding do?
It replaces characters that are not safe in a URL with a % sign followed by two hexadecimal digits.
Does this tool encode spaces?
Not as tested. The space in hello world stayed a space instead of becoming %20.
Does it decode percent-encoded text?
Not as tested. No decode mode or decoded output was shown.
Is my text uploaded to a server?
The page is presented as a browser-first tool, but no upload behaviour was verified in this test. Avoid pasting private or sensitive text, including URLs with tokens, into any online tool.
This page describes the workspace as observed during testing. The worked example uses real output observed on this site.
Percent-encode or decode URL components
Use this for query values and URL components, not for blindly re-encoding a complete URL.
Processing mode: browser-only for this tool. The interface does not require a server upload to perform its transformation.
Related Tools
From the Blog
How to Split a Bill Fairly (With Tip and Tax, Without the Awkward Maths)
Quick Answer Agree the method before ordering, split the food by what each person ordered, and split tax and tip in proportion…
Read article →How to Use the Pomodoro Technique to Actually Finish Your Work
Most productivity advice tells you what to do and leaves the when to you. That is exactly where the day falls apart.…
Read article →How to Merge PDF Files Into One Document (Without Losing Pages)
You have five PDFs. Your bank wants one file. Your university wants one file. Your client wants one file. Merging them is…
Read article →