URL Encoder
Encode and decode URLs and query string components online for free.
How to use
- 1Choose Encode or Decode.
- 2Type or paste your text.
- 3Copy the result from the output box.
Features
- Encode text or URL components
- Decode percent-encoded text
- Runs entirely in your browser
Supported formats
Privacy
Your text is encoded or decoded locally in your browser and is never sent to our server.
About this tool
URL encoding converts characters that are unsafe in a URL into percent-encoded sequences. This tool encodes text using the same rules as JavaScript's encodeURIComponent, or decodes percent-encoded text back into plain text.
Frequently asked questions
What does URL encoding do?
It converts characters that aren't safe in a URL (like spaces and symbols) into percent-encoded sequences, e.g. a space becomes %20.
Should I encode an entire URL or just a part of it?
This tool encodes the full input as a single component, similar to JavaScript's encodeURIComponent. Encode only the value of a query parameter, not the whole URL with its protocol and slashes.
Is my text sent to a server?
No, encoding and decoding happen entirely in your browser.
Related tools
Base64 Encoder
Encode and decode Base64 text and data online, entirely in your browser.
JSON Formatter
Format and beautify JSON online with proper indentation, entirely in your browser.
JSON Validator
Validate JSON syntax and get clear error messages with line and column numbers.
JSON to CSV
Convert a JSON array of objects into a CSV file online for free.