URL Encoder
Convert plain text into a URL-safe, percent-encoded string for query parameters, paths, and form data.
URL Encoder
Percent-encode text for safe use in URLs, query strings, and form data.
How to use URL Encoder
- 1
Paste your text
Enter the raw text, query value, or URL fragment you need to encode.
- 2
Pick a mode
Use encodeURIComponent for query values (recommended) or encodeURI when you want to preserve : / ? & in a full URL.
- 3
Copy the result
Grab the percent-encoded output with one click.
About URL Encoder
Convert plain text into a URL-safe, percent-encoded string for query parameters, paths, and form data.
Use URL Encoder when you need to percent-encode text for safe urls. Review the available options in the interface, process your input, and check the result before saving or copying it.
Frequently asked questions
Use encodeURIComponent for individual query string values and path segments. Use encodeURI when you have a full URL and want to keep reserved characters like : / ? & unchanged.
Related tools
All Developer ToolsURL Decoder
Decode percent-encoded URLs back to text
Open toolBase64 Encoder
Encode text or files to Base64
Open toolBase64 Decoder
Decode Base64 back to text or files
Open toolCSS Minifier
Minify CSS for production
Open toolDiff Checker
Compare two texts side by side
Open toolJavaScript Minifier
Minify JavaScript for production
Open tool