URL Encoder & Decoder

Percent-encode text so it can be used safely in a web address, or decode %20-style links back into readable text. Paste a full link to see its parts and every query parameter decoded.

Your text or URL

What do you want to do?

Result

    How to use the URL Encoder & Decoder

    1. Choose Encode or Decode.
    2. Paste your text or URL, or use Try an example.
    3. Copy the result and check the decoded parts of the link.

    Your data stays on your device. This tool runs entirely in your browser. Nothing you type or paste is sent to our server or saved. Read our privacy policy.

    What is URL encoding?

    Web addresses can only contain a limited set of characters. Spaces, Urdu letters, &, ? and other symbols must be written as a % followed by a code. A space becomes %20, & becomes %26 and / becomes %2F. This is also called percent-encoding.

    When do you need it?

    • Putting user input into a query string, such as a search term: ?q=free%20pdf%20tools.
    • Sharing links that contain non-English words.
    • Reading a long tracking or redirect link to see where it really goes.
    • Debugging APIs that receive parameters in the URL.

    Component or full URL?

    Encoding a single value escapes everything that isn't safe, including /, ? and &. Encoding a full URL keeps those characters, because they give the address its structure. Encode each parameter value separately, then join them.

    Plus sign or %20?

    In form data a space is often written as +. In other parts of a URL, + means a literal plus. When decoding form data, treat + as a space.

    Paste any link into decode mode to see every parameter listed separately. For readable page addresses, use the Slug Generator.

    Frequently asked questions

    What is URL encoding?

    Web addresses can only contain certain characters. URL encoding replaces the others, such as spaces, Urdu letters or &, with a % and two hexadecimal digits. A space becomes %20.

    When should I encode a whole URL?

    Use the default to encode a single value, such as a search term, before putting it in a link. Turn on Encode a whole URL when you have a complete address and want to keep its : / ? & = characters working.

    What does Spaces as + mean?

    HTML forms send spaces as + instead of %20. Turn this on when you are building or reading form-style query strings.