Polymorpher
The Utility Factory — Free Developer Tools
Convert, transform, beautify & decode — all in one place.
⚡ All Tools
Did You Know?
Select a tool from the sidebar to get started, or explore our free developer utilities.
About this Tool
URL Encoder & Decoder — Percent-Encoding Tool
Encode text for safe URL usage with percent-encoding (URL encoding) or decode URL-encoded strings back to readable text. Essential for working with query strings, form data, API parameters, and HTTP requests.
Handles all special characters: spaces become %20, ampersands become %26, equals signs become %3D, and all Unicode characters are properly encoded. The bi-directional swap lets you toggle between encode and decode instantly.
Perfect for debugging API calls, building query strings, testing webhooks, and understanding URL parameters. Free, fast, and completely stateless.
Live Examples
Example 1 — Encode a search query
Input: hello world & goodbye
Output: hello%20world%20%26%20goodbye
Example 2 — Encode a full URL parameter
Input: https://example.com/path?key=value
Output: https%3A%2F%2Fexample.com%2Fpath%3Fkey%3Dvalue
Use this when passing a URL as a query parameter inside another URL (e.g., redirect URLs, callback URLs).
Example 3 — Decode a webhook payload
Input: user%40example.com%20sent%20%245.00
Output: [email protected] sent $5.00
Example 4 — Unicode characters
Input: café résumé naïve
Output: caf%C3%A9%20r%C3%A9sum%C3%A9%20na%C3%AFve
All non-ASCII characters are encoded as UTF-8 byte sequences per RFC 3986.
Common Characters Reference
| Character | Encoded | Why |
|---|---|---|
| Space | %20 | Spaces are invalid in URLs |
| & | %26 | Separates query parameters |
| = | %3D | Separates key from value |
| ? | %3F | Starts query string |
| # | %23 | Starts fragment identifier |
| @ | %40 | Used in email / authority |
When to Use
- Building query strings for REST API calls
- Encoding redirect/callback URLs as parameters
- Debugging webhook payloads that arrive percent-encoded
- Ensuring form data is properly encoded before submission
When Not to Use
- Binary data: Use Base64 for encoding binary content
- Full URL construction: Only encode the parameter values, not the entire URL structure
Related Tools: Base64 Encoder · JWT Decoder · Hash Generator