Home › Utility & Security Tools › URL Encoder / Decoder
Encode special characters in URLs to percent-encoded format or decode percent-encoded URLs back to readable text — instantly, in both directions.
Paste your URL or text
Add either a raw URL with special characters to encode, or a percent-encoded URL to decode.
Choose direction
Select Encode (converts special characters to %XX format) or Decode (converts %XX sequences back to characters). Auto-detection switches direction intelligently.
Copy the result
Get the encoded or decoded URL ready for use in your code, browser, or API request.
Spaces become %20 (or + in query strings), & becomes %26, = becomes %3D, # becomes %23, + becomes %2B, / becomes %2F when used as a literal character in a path or query value, and all non-ASCII characters are encoded as their UTF-8 byte sequences in percent-encoded format.
encodeURI encodes a complete URL — it preserves structural characters like :, /, ?, #, and & that have meaning in URL structure. encodeURIComponent encodes a URL component (a single query parameter value, a path segment) — it encodes everything including those structural characters. Use encodeURIComponent for individual values you’re inserting into a URL; use encodeURI for a complete URL.
When you’re putting user-provided text into a URL — as a query parameter value, a path segment, a redirect destination, or an API request parameter. Unencoded special characters in URL parameters break the URL structure and cause incorrect parsing on the receiving end.
No. All encoding and decoding runs in your browser. URLs are never transmitted to any server.
UTM Parameter Builder
Instant Password Generator For Enhanced Security
HTML Encoder / Decoder
Turn Text Into Scannable QR Codes
Base64 to Image
Reliable Base64 Encoder And Decoder Online
JWT Decoder
Format, Validate, And Beautify JSON Effortlessly
URL encoding is a daily operation in web development — every time you build a URL with dynamic content, form a query string, construct an API request, or handle a redirect, you’re dealing with percent-encoded characters. Getting it wrong means broken links, failed API calls, and security vulnerabilities from improperly escaped user input. This tool handles both directions: encode a raw string with special characters for safe URL embedding, or decode a percent-encoded URL back to readable text for debugging and analysis. It distinguishes between full URL encoding and component encoding, covering the two most common use cases correctly.
- Bidirectional — encode raw text for URLs or decode percent-encoded URLs to plain text.
- Supports full URL and component encoding — two modes for different use cases.
- Handles non-ASCII characters — UTF-8 percent-encoding for international text.
- Browser-only processing — URL data never leaves your device.
All encoding and decoding runs in your browser. URL content is never transmitted to any server.