URL Encode Query Strings
Encode and decode query strings safely for tracking links and APIs.
Try it now
Try it now
Open URL Encoder with a ready-to-run example.
When you need this
- You need to safely encode query strings for redirects.
- You are troubleshooting encoded URLs from logs.
- You want to encode spaces and special characters correctly.
How to do it with Daily Developer Tools
- Paste the raw text or query string into the URL Encoder.
- Click Encode or Decode depending on your need.
- Copy the result into your app or request.
Tips / common pitfalls
- Encode full query strings when you need to pass them as a single value.
- Decode before editing to avoid double-encoding errors.
- Use the URL Parser to inspect parameters after decoding.
Examples & test data
Input example
email=alex@example.com¬es=needs follow up
Expected output
email%3Dalex%40example.com%26notes%3Dneeds%20follow%20up
Input example
utm_source%3Dnewsletter%26utm_campaign%3Dwinter%2520sale
Expected output
utm_source=newsletter&utm_campaign=winter%20sale
FAQ
What does URL encoding do?
It replaces reserved characters with %xx escapes so URLs remain valid.
Why do I see %20 instead of spaces?
%20 is the encoded form of a space character.
Can I decode + signs?
Yes. The tool normalizes + to spaces when decoding.
Does the tool store my input?
No. Everything runs locally in your browser.
Related tools
Privacy-first: everything runs locally in your browser. No uploads, no tracking of your inputs.