gettinytool.com
πŸ”—

URL Encoder / Decoder

Encode and decode URL components with percent-encoding. Handles spaces, special characters, and Unicode. Instant, client-side.

Sponsored

Related Tools

Sponsor this Β· ads@gettinytool.com

URL Encoder / Decoder β€” Percent-Encode & Decode URLs Online

Encode and decode URL strings using percent-encoding (also known as URL encoding). This tool handles spaces, special characters, Unicode, and query string parameters instantly in your browser β€” no server required.

URL encoding is required whenever you include special characters in a URL or form submission. Characters like spaces (%20), & (%26), and = (%3D) must be encoded to avoid breaking the URL structure.

What you can do with this tool

  • Encode any text or URL to percent-encoded format (%20, %3A, etc.)
  • Decode a percent-encoded URL back to readable text
  • Handle full URLs or individual query parameter values
  • Encode Unicode characters (e.g. Chinese, Arabic, emoji) to safe ASCII
  • Supports both encodeURIComponent and encodeURI modes

How to use the URL Encoder

  1. Paste your URL or text into the input field
  2. Choose Encode or Decode
  3. The result appears instantly
  4. Copy the encoded/decoded value to your clipboard

FAQ

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL and preserves characters like /, ?, #, and &. encodeURIComponent encodes a single parameter value and converts those characters too. Use encodeURIComponent for query parameter values.

Why does a space become %20 and not +?

Both %20 and + represent spaces in URLs, but in different contexts. %20 is the RFC 3986 standard. + is specific to application/x-www-form-urlencoded format used in HTML form submissions.

We use essential cookies for site functionality and optional analytics cookies to improve tools. Read our Privacy Policy and Terms.