CDCodDepot
Categories

Β© 2026 CodDepot. All rights reserved.

HomeCategoriesPrivacy PolicyTerms
  1. Home
  2. /
  3. Developer
  4. /
  5. URL Encoder / Decoder
πŸ”—

URL Encoder / Decoder

Percent-encode and decode URL components.

Share𝕏Post on XinLinkedIn

Output

Was this tool useful?

Your vote is saved on this device only.

About URL Encoder / Decoder

The URL Encoder / Decoder converts text to and from percent-encoding, the format URLs use to safely carry characters like spaces, ampersands, slashes, and non-ASCII letters. Paste a query parameter, path segment, or full string and instantly get the encoded version with reserved characters replaced by %XX sequences, or decode an existing encoded value back into readable text. It solves the everyday problem of building or debugging links where special characters break routing or get misinterpreted.

It is built for developers, QA engineers, and anyone wiring up APIs, tracking links, or web forms who needs encoding to be correct rather than guessed. Because it is completely free and runs entirely in your browser, the strings you paste never leave your device and nothing is sent to a server, so you can safely handle tokens, parameters, or internal URLs.

How to use

  1. Paste your text or URL component into the input box.
  2. Choose whether to encode or decode the value.
  3. Read the converted result from the output field.
  4. Copy the result and paste it into your link, code, or request.
  5. Clear the input and repeat for the next value as needed.

Features

  • βœ“Percent-encode reserved and special characters
  • βœ“Decode %XX sequences back to text
  • βœ“Handles non-ASCII and Unicode input
  • βœ“Works on query params and path segments
  • βœ“Instant in-browser conversion, no upload

Frequently asked questions

Is my data sent anywhere when I encode or decode?+

No. All conversion happens locally in your browser, so the text you paste never leaves your device and nothing is uploaded to a server. The tool is free to use without sign-up.

What is the difference between encoding a whole URL and a single component?+

Component encoding escapes reserved characters like /, ?, &, and = so they are treated as literal data, while a full URL keeps those structural characters intact. Encode individual query values or path segments rather than an entire URL to avoid breaking its structure.

Why are spaces sometimes shown as %20 and not a plus sign?+

Percent-encoding represents a space as %20, which is valid everywhere in a URL. The plus sign is only treated as a space inside application/x-www-form-urlencoded form data, which is a separate convention.

Does the tool handle accented letters and other Unicode characters?+

Yes. Non-ASCII characters are encoded as their UTF-8 bytes in percent-encoded form, and decoding reverses the process to restore the original characters.

What happens if I try to decode text that is not properly encoded?+

Valid %XX sequences are converted back to their characters, while other text passes through unchanged. Malformed or incomplete percent sequences may not decode cleanly, so check that the input uses correct encoding.

Related tools

🧾

JSON Formatter / Validator

Format, minify, and validate JSON with syntax highlighting.

πŸ”

Base64 Encoder / Decoder

Encode plain text to Base64 or decode it back.

πŸ”

Regex Tester

Test regular expressions, highlight matches, and inspect groups.