URL Encode / Decode

Percent-encode and decode URLs and components. Handles UTF-8, query strings, full URLs.

URL Encode / Decode

https%3A%2F%2Fx114.org%2Ftools%3Fq%3Dhello%20%E4%B8%96%E7%95%8C%26ref%3D%F0%9F%9A%80
Kiểm tra khứ hồi:https://x114.org/tools?q=hello 世界&ref=🚀

Giới thiệu

URLs are restricted to a small ASCII alphabet. Anything outside that alphabet — spaces, accented characters, emoji, CJK — must be percent-encoded as %XX sequences before it can travel over the wire. Conversely, a percent-encoded URL must be decoded back into characters before a human can read it.

This tool encodes and decodes URLs with the encodeURIComponent and decodeURIComponent semantics by default — that's the right choice for query values, path segments, and fragments. Switch to Full URL mode to use encodeURI / decodeURI, which leaves reserved characters like /, ?, and & untouched.

It is UTF-8 safe, so non-ASCII characters round-trip correctly. The output updates live as you type.

Câu hỏi thường gặp

Có thể bạn cũng thích