URL Encoder (Percent Encoding)
Encode text for use in URLs. Choose component, full URL or form (plus for spaces) encoding.
How to use URL Encoder
Step by step
Paste your text
Type or paste the text or URL.
Pick a mode
Component, Full URL or Form.
Copy the result
Use the Copy button.
Features and benefits
What you get
Live result
The output updates as you type or change an option.
Private
Your code is processed in your browser by this page and is not sent anywhere.
Clear errors
Problems are reported with a short message instead of silent failure.
No sign-up
Open the page and start.
Supported formats and limitations
What to expect
Supported formats
Plain text
Size limits
Limited by browser memory
Limitations
Runs fully in your browser. Very large inputs (several MB) can slow the page.
Frequently asked questions
Quick answers
What is percent encoding?
Unsafe characters are replaced by % and two hex digits, for example a space becomes %20.
Which mode should I choose?
Component for values inside a URL, Full URL for an entire address.
Related tools
More from Developer Tools
JSON Formatter
Format, indent, sort and minify JSON. Invalid JSON is reported with the line and column of the problem.
JSON Validator
Check whether your JSON is valid. If it is not, see the exact line and column and a plain-English reason.
HTML Formatter
Indent and tidy HTML. Inline tags stay on the line, and embedded CSS and JavaScript are formatted too.
Related guides
Read more about this tool