Skip to content

URL Encoder/Decoder

Encode or decode URL percent-encoding. Encode special characters for safe URL transmission.

URL Encoder/DecoderGratisText UtilitiesRuns in your browser

Works in your browser. What you paste or upload is processed on your device.

Key features of the URL encoder and decoder

  • Encodes text to URL-safe percent-encoded format
  • Decodes percent-encoded strings to readable text
  • Handles all special characters (spaces, symbols, Unicode)
  • Encodes full URL or just URL components
  • Supports both encodeURI and encodeURIComponent modes

How to use the URL encoder and decoder

  1. Enter your text or URL

    Paste the text you want to encode, or the percent-encoded string to decode.

  2. Choose operation

    Click 'URL Encode' or 'URL Decode'.

  3. Review the output

    See the encoded (with %XX codes) or decoded (readable) result.

  4. Copy the result

    Click 'Copy' to copy the output.

  5. Use in your project

    Paste the URL-encoded string into your API, query parameter, or web application.

What is a URL encoder and decoder?

The URL Encoder/Decoder converts text to URL-safe percent-encoded format (encoding) or converts percent-encoded URL strings back to readable text (decoding). URL encoding replaces special characters with % followed by their hexadecimal code (e.g., space becomes %20).

URL encoding is required whenever special characters — spaces, quotes, brackets, ampersands — appear in URLs, query parameters, or form data. Without encoding, these characters break URL parsing and can cause data transmission errors. This tool handles both encoding and decoding for any URL component.

Why use a URL encoder and decoder?

Special characters in URLs break HTTP requests, API calls, and form submissions if not properly encoded. Manually encoding characters is error-prone. This tool instantly produces correct percent-encoded URLs ready for use in any web application or API integration.

URL encoder and decoder: frequently asked questions

Something else? Ask the team

What is URL encoding?

URL encoding (percent-encoding) converts characters that aren't allowed in URLs into a safe format using % followed by two hex digits. For example, a space becomes %20 and & becomes %26.

What characters need URL encoding?

Characters that must be encoded in URLs include: spaces, <, >, #, %, {, }, |, \, ^, [, ], `, and any character outside the ASCII printable range. Query parameter values also need encoding for &, =, +, and ?.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL, preserving characters valid in URLs (/, ?, &, =, #). encodeURIComponent encodes individual URL components (like a query parameter value), encoding those characters too.

Is %20 or + used for spaces in URLs?

Both are used in different contexts. %20 is the standard percent-encoding for space in any URL context. The + character represents a space only in query strings (application/x-www-form-urlencoded format).

Can I encode non-English characters in URLs?

Yes. Non-ASCII characters (like é, ñ, 中文) are first UTF-8 encoded, then percent-encoded. The tool handles this automatically — just paste any text and encode it.

Meer AI-vermeldingen winnen?

URL Encoder/Decoder is one piece of the puzzle. See how ChatGPT, Gemini, Perplexity, and Google AI Overviews actually view your brand, and get a prioritised list of fixes, with a free AEO & GEO audit from AI Rank Lab.

One check is a start. The audit checks the whole site.

Voer een gratis AEO- en GEO-audit uit or Bekijk prijzen.

  • Scores SEO, answer-engine (AEO) and generative-engine (GEO) readiness
  • Lists the fixes, page by page
  • Then track whether ChatGPT, Gemini, Perplexity and Google AI Overviews cite you
fieldnote.app4,571 credits

Site audit

fieldnote.app · SEO, AEO and GEO

Illustrative data
SEO
82
+6
AEO
64
+11
GEO
58
+9
Pages
48
Fixesby impact
  • /pricing · Missing H1High
  • /blog/guide · No FAQ schemaMedium
  • /llms.txt · Not foundMedium
  • /about · Meta description too longLow

See where your whole site stands

Paste your site. The free audit scores it for SEO, answer engines and generative engines, with the fixes.