URL Encoder / Decoder

Percent-encode URLs and query parameters, or decode encoded strings — instantly, in your browser.

URL 인코더 / 디코더

URL과 쿼리 파라미터를 퍼센트 인코딩하거나 디코딩 — 즉시, 브라우저에서 바로.

Input
입력
Output
출력
Character Encoded Description
Space%20Whitespace in URLs
&%26Query param separator
=%3DKey=value separator
+%2BPlus sign (also used for space in form data)
#%23Fragment identifier
@%40Used in email/auth
/%2FPath separator
?%3FQuery string start
:%3AScheme separator
%%25Percent sign itself
[%5BLeft bracket (IPv6)
]%5DRight bracket (IPv6)
,%2CComma
"%22Double quote
<%3CLess-than sign
>%3EGreater-than sign

How to use this tool

Step 1

Paste your input

Type or paste the URL or text string you want to encode or decode into the Input panel on the left.

Step 2

Choose an action

Click Encode URL for a full URL, or Encode Component to encode a query parameter value. Use Decode to reverse.

Step 3

Copy the result

The encoded or decoded result appears in the Output panel. Click Copy to put it on your clipboard.

Tip

Use Swap to iterate

Click Swap to move the output back to input. Useful when you want to encode an already-encoded string a second time.

사용 방법

Step 1

입력 붙여넣기

인코딩하거나 디코딩할 URL 또는 텍스트를 왼쪽 입력 패널에 붙여넣으세요.

Step 2

동작 선택

전체 URL에는 Encode URL을, 쿼리 파라미터 값에는 Encode Component를 클릭하세요. Decode로 반대 작업을 할 수 있습니다.

Step 3

결과 복사

출력 패널에 결과가 표시됩니다. Copy를 클릭하면 클립보드에 복사됩니다.

Swap으로 반복 작업

Swap을 클릭하면 출력 값이 입력으로 이동합니다. 이미 인코딩된 문자열을 다시 인코딩할 때 유용합니다.

Frequently Asked Questions

URL encoding (also called percent-encoding) converts special characters into a format that can be safely transmitted in a URL. Each character is replaced with a "%" followed by its two-digit hexadecimal representation — for example, a space becomes %20 and "&" becomes %26. This is necessary because URLs can only contain a limited set of ASCII characters.
encodeURI is designed for full URLs — it encodes most special characters but leaves the ones that have structural meaning in a URL intact (like :// ? & = # /). encodeURIComponent is meant for individual query parameter values — it encodes everything except letters, digits, and - _ . ! ~ * ' ( ). Use encodeURIComponent when encoding a value that will appear inside a query string.
The ASCII code for a space character is 32, which is 0x20 in hexadecimal. Percent-encoding simply takes the hexadecimal byte value of a character and prefixes it with "%". Some older systems encode spaces as "+" (used in HTML form submissions), but the modern standard is %20.
You need to encode a URL whenever it contains characters that are not allowed in a URL or that have a special meaning you want to suppress. Common situations include: passing a URL as a query parameter, building dynamic links in JavaScript, writing API requests programmatically, or embedding special characters like spaces, ampersands, or hash signs in query string values.
Yes — that is exactly what Encode Component is for. For example, if you want to pass an email address as a query value, use encodeURIComponent("user@example.com") to get user%40example.com. Always encode individual values with encodeURIComponent, not the entire URL.

자주 묻는 질문

URL 인코딩(퍼센트 인코딩이라고도 함)은 특수 문자를 URL에서 안전하게 전송할 수 있는 형식으로 변환합니다. 각 문자는 "%" 뒤에 두 자리 16진수로 표현됩니다. 예를 들어, 공백은 %20이 되고 "&"는 %26이 됩니다. URL은 제한된 ASCII 문자만 포함할 수 있기 때문에 이 과정이 필요합니다.
encodeURI는 전체 URL을 위해 설계되었습니다. URL 구조에 의미 있는 문자(예: :// ? & = # /)는 그대로 두고 나머지만 인코딩합니다. encodeURIComponent는 개별 쿼리 파라미터 값을 위한 것으로, 영문자, 숫자, - _ . ! ~ * ' ( )를 제외한 모든 것을 인코딩합니다.
공백 문자의 ASCII 코드는 32이고, 16진수로 0x20입니다. 퍼센트 인코딩은 문자의 16진수 바이트 값 앞에 "%"를 붙이는 방식입니다. HTML 폼 전송에서는 공백을 "+"로 표현하기도 하지만, 현대 표준은 %20을 사용합니다.
URL에 허용되지 않거나 특별한 의미를 가진 문자가 포함될 때마다 인코딩이 필요합니다. 예를 들면: URL을 쿼리 파라미터로 전달할 때, JavaScript에서 동적 링크를 만들 때, API 요청을 프로그래밍 방식으로 작성할 때, 쿼리 문자열 값에 공백, 앰퍼샌드, 해시 기호 등을 포함할 때입니다.
네, 바로 Encode Component가 그 용도입니다. 예를 들어 이메일 주소를 쿼리 값으로 전달하려면 encodeURIComponent("user@example.com")을 사용하면 user%40example.com이 됩니다. 개별 값에는 항상 encodeURIComponent를 사용하세요.

Sponsor

Get started on Vultr

Get $300 free credit — valid for 30 days

Claim your credit →