Công cụ Developer

Mã hóa/Giải mã URL

Mã hóa và giải mã thành phần URL và tham số query string

Raw URL / Text Input
Encoded Output
69 characters69 bytes

Client-side only — uses native browser encodeURIComponent / decodeURIComponent (RFC 3986). Your data never leaves the browser.

URL Encoder & Decoder

Encode special characters in URLs (percent-encoding) or decode percent-encoded strings back to readable text. Essential for query parameters, API endpoints, and web scraping.

FAQ

What is URL encoding?

URL encoding replaces unsafe ASCII characters with % followed by two hex digits. A space becomes %20, & becomes %26.

When do I need to URL encode?

When passing special characters in query parameters or form data. Unencoded characters like #, &, and = break the URL.

encodeURI vs encodeURIComponent?

encodeURI encodes a full URL and leaves /, ?, # intact. encodeURIComponent encodes a single value and escapes those characters too — use it for query string values.

Chưa thấy công cụ bạn cần?

Chúng tôi xây công cụ miễn phí dựa trên phản hồi cộng đồng. Hãy đề xuất tiện ích giúp workflow của bạn!

Mã hóa/Giải mã URL — Công Cụ Miễn Phí Online | FreeTool24 | FreeTool24