URL Encoder & Decoder

Encode text to URL-safe format or decode percent-encoded strings back to text

Input

Enter text or URL to encode
0 characters

Settings

Preserve protocol, slashes, and special URL characters

Converts text to URL-safe format by encoding special characters.

Output

URL-encoded result
0 characters
About This Tool

This is the general-purpose URL encoding workspace — percent-encode text, query parameters, or full URLs, or decode a percent-encoded string back to readable text, switching direction with a single click. It's the right starting point when you're not sure yet which direction you need, or when you're going back and forth between the two while debugging an API request or a browser address bar. Prefer a dedicated page? The URL Encoder and URL Decoder pages default straight into one direction with focused, direction-specific guidance.

How to Use

Choose Encode or Decode using the radio buttons. For Encode, paste plain text or a URL — the percent-encoded output appears as you type, with a choice of %20 or + for spaces and an option to preserve full-URL structure characters (:, /, ?, &, =). For Decode, paste a percent-encoded string to recover the original text; both %20 and + space styles are handled automatically. Copy the output with one click, or switch direction anytime without losing your place.

Common Use Cases

Switching mid-task

Encode a search query for an API request, then paste the API's raw response query string back in and switch to Decode to inspect it.

Query String Round-trip

Encode `category=shoes & size=42` into a safe query string, then later decode a logged request URL to see the original values.

Debugging a Browser URL

Decode a percent-encoded address bar URL to read it, then re-encode a corrected version.

Form Data Workflows

Encode form field values for application/x-www-form-urlencoded submissions, or decode logged form submissions to inspect what was sent.

Limitations & Important Notes

This tool uses UTF-8 encoding (standard for the modern web); non-UTF-8 encodings are not supported. All processing is client-side, so extremely long URLs (over roughly 100KB) may be slow in older browsers. Malformed percent sequences (like %ZZ) produce a decode error rather than a silent guess. URL encoding is not encryption or obfuscation — encoded text is trivially reversible and should never be used to hide sensitive data.