URL Encode / Decode
Encode and decode URLs online. Percent-encoding and decoding for query strings.
How to Use URL Encode / Decode
- 1Select "Encode" or "Decode" mode using the toggle.
- 2Paste your URL or text into the input field.
- 3The encoded or decoded result appears instantly.
- 4Click "Copy" to copy the result to your clipboard.
Frequently Asked Questions
What is URL encoding (percent-encoding)?
URL encoding replaces unsafe or reserved characters with a percent sign followed by two hex digits (e.g. a space becomes %20). This ensures URLs are transmitted correctly over the internet.
Which characters are percent-encoded?
Characters outside the unreserved set (A-Z, a-z, 0-9, "-", "_", ".", "~") are encoded. Reserved characters like &, =, ?, and # are also encoded when they appear inside query values.
When should I URL-encode a string?
URL-encode any value you place in a query parameter, path segment, or fragment that may contain spaces, special characters, or non-ASCII text. This prevents broken links and ambiguous parsing.
Is my data sent to a server?
No. All encoding and decoding happens locally in your browser. Your data never leaves your device.
Related Tools
Base64 Encode / Decode
Encode and decode Base64 and Base64URL strings online. Toggle between standard Base64 and URL-safe Base64URL with real-time conversion.
JWT Debugger
Decode, inspect and verify JSON Web Tokens. View claims with OIDC descriptions, verify signatures with HS256/RS256/ES256, and auto-fetch public keys from OIDC issuers.
HTML Entity Encode / Decode
Encode and decode HTML entities online. Escape and unescape HTML characters.