How to URL Encode a Query Parameter

The most common encoding mistake is applying the wrong mode to the wrong part of a URL.

3 common issues 2 matching tools Follow steps, then fix it
Common situations

Start from what you need to do

Encode the value, not always the whole URL

If you only need to make one query parameter safe, component encoding is usually the correct choice.

Open the tool →
Inspect the decoded structure

A tool that shows query parameters separately helps you confirm whether keys and values still look correct after encoding or decoding.

Open the tool →
Do not confuse URL encoding with Base64

Base64 is for byte-friendly transport. URL encoding is for safe characters inside URLs and query strings.

Open the tool →
Steps

A simple path to the result

1 Start by matching your situation with the problem cards below.
2 Open URL Encoder / Decoder and fix the issue directly on the tool page.
3 After that, verify the output and continue into the next step if needed.
Recommended tools

Open the right tool next

Need the next step?

Finish this task, then continue with the next related tool.

Related how-to guides

Keep exploring

FAQ

Frequently asked questions

Should spaces become %20 or +?

That depends on the context, but a dedicated URL encoder helps you see the exact output immediately.

Advertisement