URL Encode & Decode Online Free
Encode text to a URL-safe percent-encoded string, or decode a percent-encoded URL back to plain text. Live result, free, no signup.
How to URL Encode or Decode a String
- 1
Choose Encode or Decode
Select "Encode" to convert text to a URL-safe percent-encoded string, or "Decode" to restore a percent-encoded string to plain text.
- 2
Paste your input
Type or paste your text or URL into the input box. The result updates live as you type.
- 3
Copy the result
Click "Copy" to copy the encoded or decoded output to your clipboard.
URLs can only contain a limited set of characters. Special characters — spaces, ampersands, equals signs, and non-ASCII characters — must be percent-encoded before being included in a URL. Percent-encoding replaces each unsafe byte with a % followed by two hexadecimal digits representing the byte value.
When to use this tool: Encoding query parameter values before appending them to a URL, debugging a URL that contains strange %XX sequences, constructing API requests manually, or working with OAuth redirect URIs and callback URLs that must be URL-encoded.
Example: hello world & more encodes to hello%20world%20%26%20more. Space → %20, ampersand → %26.