URL Encoder
URL-encode text for query strings and form bodies. Instant percent-encoding in your browser. Free URL encoder.
Processed locally in your browser.
How to use this url encoder
Paste the value you need in a URL. The encoder percent-encodes reserved characters. Spaces become + for form-style encoding, with a strict percent-encoding option for paths.
Copy the output into a query parameter. Decode with the URL Decoder if you are inspecting a request.
Example
hello world encodes to hello+world (form) or hello%20world (strict).
Related tools
More encoding tools
- Base64 Encoder — Encode text to Base64 in your browser with UTF-8 support. Instant Base64 encoder, no signup, nothing uploaded.
- Base64 Decoder — Decode Base64 to text in your browser. UTF-8 safe Base64 decoder with instant results. Free, no signup.
- URL Decoder — Decode percent-encoded URLs and query strings in your browser. Turns %20 and + back into readable text.
Frequently asked questions
What is URL encoding?
Percent-encoding replaces reserved characters with % plus two hex digits so they can travel in a URL safely.
Should I use + or %20 for spaces?
application/x-www-form-urlencoded uses +. Path segments usually use %20. This tool offers both.
Is this encodeURIComponent?
Strict mode is encodeURIComponent. Form mode then turns %20 into +.
Is my URL uploaded?
Processed locally in your browser. We do not upload the text to compute a result.
Last reviewed 2026-08-19. Results stay on your device unless you copy them elsewhere.