← PicToSpec home

FREE DEVELOPER TOOL

URL Encoder and Decoder

Encode special characters for URLs or decode percent-encoded text. Choose full URL or URL component mode.

This tool runs in your browser. Avoid pasting private tokens, passwords or confidential data on shared devices.

URL Encoder and Decoder: practical guide

Encode special characters for URLs or decode percent-encoded text. Choose full URL or URL component mode. Your input is processed locally in this browser session.

Example

A space in a query value is commonly represented as %20 when percent-encoded. For example, “hello world” becomes “hello%20world” with component encoding.

How to use this tool

  1. Choose encode or decode.
  2. Choose URL component mode for an individual value, or full URL mode when you need URL-level encoding.
  3. Paste the text and run the conversion.
  4. Check the result in the application or URL where it will be used.

Tips for accurate results

Important limitations

URL encoding is not encryption and does not make a private URL secure. Decoding can fail when percent escapes are incomplete or malformed. The tool does not verify that a URL exists or is safe to visit.

Frequently asked questions

When should I use URL component encoding?

Use component encoding for an individual query value or piece of text. Full URL encoding is intended for a complete URL and preserves URL separators.

Why can decoding fail?

A malformed percent escape is not valid encoded text. Check that the source string is complete and has valid percent-encoded bytes.