URL Encoder / Decoder
✓ WorkingEncode and decode URLs and query strings instantly. Handles percent-encoding, form encoding, and URI components — free developer tool, no sign-up.
1.9M+ tools used
FAQ
Frequently asked questions.
Paste your text or URL into the input field and select Encode. Special characters like spaces, &, =, +, ?, #, and non-ASCII characters are converted to their percent-encoded equivalents (e.g., space becomes %20). The encoded string is safe to use in URLs and HTTP requests.
Paste your percent-encoded URL or string (containing %XX sequences) into the input and select Decode. The tool converts %20 back to spaces, %2F back to /, and all other percent-encoded characters back to their original form. This is useful for reading encoded URLs from logs or API responses.
encodeURI encodes a full URL, preserving characters that have special meaning in URLs (like /, :, @, ?). encodeURIComponent encodes individual URL components like query parameter values, converting those same characters. Use encodeURIComponent for query parameter values, and encodeURI for complete URLs.
URL spaces use %20 in path segments (RFC 3986 percent-encoding) and + in query strings (application/x-www-form-urlencoded format). Both are valid in their respective contexts. Our encoder lets you choose which standard to apply based on where you'll use the encoded string.
Yes. You can encode an entire URL with query strings. However, for best results when encoding only the values (not the keys or separators), use the component encoding mode. This prevents the & and = characters separating parameters from being accidentally encoded.
Copy the problematic URL, paste it into our URL Encoder, and encode it. The encoded version replaces all invalid characters with safe percent-encoded sequences. Use the encoded URL in your application or HTTP request to resolve the invalid character error.
Yes. Non-ASCII characters including Unicode letters and emoji are first converted to UTF-8 bytes, then each byte is percent-encoded. For example, the emoji is encoded as a sequence of %XX values. This conforms to the RFC 3986 standard for international URLs (IRIs).
Yes. All encoding and decoding happens in your browser using standard JavaScript functions. Nothing is sent to any server. Your URLs, API keys, or query parameters remain entirely private.
Yes. The tool is mobile-responsive and works in any browser on iPhone or Android. Paste a URL, tap Encode or Decode, and tap Copy to use the result immediately.
Yes, completely free. No sign-up, no usage limits, and no premium features. Encode and decode as many URLs as you need at no cost.