输入 (纯文本)
0 chars快速示例:
选项
标准编码:对除 - _ . ~ 以外的特殊字符进行编码
输出 (已编码)
URL 编码参考
保留字符(必须编码):
! * ' ( ) ; : @ & = + $ , / ? # [ ]
非保留字符(安全):
A-Z a-z 0-9 - _ . ~
常见编码:
快速示例:
标准编码:对除 - _ . ~ 以外的特殊字符进行编码
保留字符(必须编码):
! * ' ( ) ; : @ & = + $ , / ? # [ ]
非保留字符(安全):
A-Z a-z 0-9 - _ . ~
常见编码:
A URL can only contain a limited set of ASCII characters safely — spaces, ampersands, question marks, non-Latin letters, and symbols like # or % all have to be converted into percent-encoded sequences (like %20 for a space) before they can travel reliably through a link, a query string, or an API request. This tool handles that conversion in both directions: paste a raw string and get its percent-encoded form, or paste an encoded URL and get back the readable original. It's built for the moment a developer is debugging a broken redirect, building a query string by hand, or trying to figure out what a mangled-looking link actually says.
Type or paste text into the input, and the tool converts it using standard percent-encoding rules, turning reserved and non-ASCII characters into their %XX byte sequences and decoding them back on request. It handles full URLs as well as individual query string values, so you can encode a parameter before appending it to a link or decode an entire address someone sent you to see what it really points to. Unicode text — accented letters, CJK characters, emoji — is supported in both directions, since these get expanded into multi-byte UTF-8 sequences when encoded.
A common gotcha this tool helps catch: encoding an already-encoded string turns %20 into %2520, and decoding a string that isn't actually encoded can silently strip characters that only look like escape sequences. Because everything runs client-side in your browser, nothing you paste — including tokens, session IDs, or internal URLs — is ever uploaded or logged, which makes it safe to use with sensitive query parameters.
Convert text to percent-encoded form or decode an encoded URL back to plain text.
Select whether you want to encode plain text into a URL-safe string or decode an already percent-encoded string back to readable text.
Paste the URL, query string, or parameter value into the input field.
The tool instantly converts the input — encoding reserved and Unicode characters into %XX sequences, or decoding %XX sequences back into their original characters.
Look over the output field to confirm the converted string matches what you expect, especially for special characters and non-Latin text.
Copy the encoded or decoded string to use in your link, API request, or code.