How to URL Encode (and Decode) Text

Published September 11, 2026 · 2 min read

Spaces, special characters, and non-ASCII text can't go directly into a URL — they need to be percent-encoded first. This tool handles the conversion in both directions, so you can safely build query strings or decode ones you've received.

Try URL Encoder

Steps

  1. 1

    Open the URL Encoder tool

    Go to the URL encoder.

  2. 2

    Enter your text

    Type or paste the text or URL to encode or decode.

  3. 3

    Choose encode or decode

    Pick the direction you need.

  4. 4

    Copy the result

    Use it directly in a URL, query string, or API call.

Frequently asked questions

Because encoding happens instantly, this saves you from manually looking up percent-encoding tables for special characters.

← Back to blog