M
Momo Toolbox
Online Tools

URL Encode/Decode - Momo Toolbox

URL Encode/Decode

URL encode and decode conversion

URL Encode/Decode Tutorial

Enter URL or text, click encode or decode button. Use the toggle button to switch direction.

View detailed tutorial →

Loading tool...

URL Encode/Decode - Use Cases

The URL encoder/decoder is useful for building query strings, handling URLs with special characters, debugging API requests, and generating safe links. Use it to put Chinese, spaces, &, and other special characters into URLs, or to parse encoded URLs back.

Features

FAQ

What is the difference between encodeURIComponent and encodeURI?

encodeURIComponent encodes all non-alphanumeric characters (including :/?&=), suitable for individual parameter values. encodeURI preserves URL structure characters and is suitable for complete URLs.

Why is space encoded as %20 or +?

In URL query strings, spaces are typically represented as + (application/x-www-form-urlencoded). In URL paths, spaces should be %20. This tool uses %20.

Can it decode a string that has been encoded multiple times?

Yes, but you need to click "Decode" multiple times. Each click peels off one layer of encoding until the string stops changing.

Want more details? See the full URL Encode/Decode Tutorial