URL Encoder/Decoder

Encode special characters for safe URLs or decode percent-encoded strings back to plain text. Free, instant, 100% private.

About URL Encoding

URL encoding (percent-encoding) converts characters that aren't allowed in URLs into a % followed by their hex code:

  • encodeURI: Encodes a full URL, preserving :///?&=# — good for whole URLs
  • encodeURIComponent: Encodes everything including / ? & = # — good for query parameter values
  • Common use: Safely pass special characters, spaces, unicode in URLs and form data

Examples

CharacterEncoded
Space%20 (or + in form data)
#%23
&%26
?%3F
/%2F
emoji 😀%F0%9F%98%80

🔒 All processing happens in your browser. Your data never leaves your device.

About URL Encoder/Decoder

Encode and decode URLs and query strings. Convert special characters to percent-encoding and back. Essential for web development, API calls, and handling user-generated URLs. All in your browser.

Full URL Encoding

Encodes spaces, symbols, and non-ASCII characters to valid URL percent-encoding. RFC 3986 compliant.

Query String Handling

Encode/decode individual query parameters. Keep the URL structure intact while fixing special characters.

Encode URI Component

Choose between full URL encoding and component encoding. encodeURI vs encodeURIComponent — both available.

Developer Essential

Quick tool for debugging URL issues, building API endpoints, and sanitizing user input. No server needed.

📋 Common Use Cases

Encoding Query Parameters

Percent-encode user input with spaces, ampersands, or special characters before inserting into URL query strings.

Debugging Redirect URLs

Decode complex, double-encoded URLs from redirect chains or marketing links to understand their actual target.

Preparing API Request Payloads

Encode parameter values that contain reserved characters before sending them in GET or POST API requests.

Cleaning Up Tracked Links

Decode ugly, heavily-encoded tracking URLs from analytics platforms to identify the actual destination and query parameters.

🪜 How to Use This Tool

  1. Select encode or decode
    Choose Encode to percent-escape special characters or Decode to restore them to their readable form.
  2. Enter the URL or string
    Paste the web address, query string, or fragment of text you want to transform.
  3. Choose character handling
    Optionally preserve certain characters like forward slashes or colons from encoding if needed for your use case.
  4. Copy the result
    Grab the encoded or decoded URL with one click and use it in your code, browser, or API client.

📚 Related Guides

Frequently Asked Questions

Are these dev tools free?
Yes. All dev tools are completely free. No signup, no account.
Is my data sent to a server?
No. Base64 encoding, URL encoding, JWT decoding, hash generation, and regex testing all happen in your browser. Your tokens and secrets stay on your device.
Can I decode JWTs safely?
Yes. JWT decoding happens entirely in your browser. The token never leaves your device. Only the header and payload are decoded — signatures are not verified server-side.

🔗 Related Tools

HTML Preview Http Status Codes Mime Type Lookup HTML Entity Encoder