URLEncoder.tools is a free online URL encoder and decoder that converts special characters in URLs to their percent-encoded equivalents as defined by RFC 3986. It supports five encoding modes: Standard URL Encode (encodeURIComponent), Full URL Encode (encodeURI), URL Decode, Batch Mode for multiple URLs, and Form Data Encode. All processing happens client-side in the browser with zero data sent to any server. The tool supports 12 languages and works with Unicode characters including emoji.
무료 온라인 URL 인코더 & 디코더 도구
모든 URL 문자열을 즉시 인코딩 또는 디코딩하세요 — RFC 3986 호환, 브라우저에서 작동, 서버로 데이터 전송 없음.
팁: Ctrl+Enter로 인코딩, Esc로 지우기
관련 도구
URL 인코딩이란?
URL encoding (also called percent-encoding) is a method of converting special characters in a URL into a format that can be safely transmitted over the internet. It replaces unsafe ASCII characters with a percent sign (%) followed by two hexadecimal digits representing the character's byte value, as defined by RFC 3986.
For example, a space character becomes %20, an ampersand (&) becomes %26, and a question mark (?) becomes %3F. The unreserved characters that do not require encoding are: A-Z, a-z, 0-9, hyphen (-), underscore (_), period (.), and tilde (~).
URL 인코딩은 어떻게 작동하나요?
URL encoding works by converting each character to its UTF-8 byte sequence, then representing each byte as a percent sign followed by two hexadecimal digits. Single-byte ASCII characters like a space produce one percent-encoded triplet (%20), while multi-byte Unicode characters produce multiple triplets.
RFC 3986 divides characters into two groups: reserved characters (: / ? # [ ] @ ! $ & ' ( ) * + , ; =) that have special meaning in URL syntax, and unreserved characters (A-Z, a-z, 0-9, -, _, ., ~) that can appear in URLs without encoding. Reserved characters must be percent-encoded when used as data rather than as delimiters.
언제 URL 인코딩이 필요한가요?
공백, 앰퍼샌드(&), 등호(=) 또는 비ASCII 문자와 같은 특수 문자가 포함된 URL을 인코딩해야 합니다. 일반적인 시나리오: API 호출을 위한 쿼리 문자열 작성, 제출을 위한 폼 데이터 인코딩, 이메일이나 메시지에서 특수 문자가 포함된 URL 공유.
Query Strings & API Calls
When building REST API requests, query parameters containing special characters like &, =, or spaces must be percent-encoded to avoid breaking the URL structure.
Form Data Submission
HTML forms submitted via GET method encode field values as query parameters. Spaces become + or %20, and special characters are percent-encoded.
Email & Messaging Links
URLs shared in emails or chat messages often contain special characters that need encoding to remain clickable and functional.
JavaScript fetch() & AJAX
When constructing URLs dynamically in JavaScript, always use encodeURIComponent() for parameter values to prevent XSS and malformed requests.
일반적인 URL 인코딩 문자
| Character | Encoded | Unicode |
|---|---|---|
| (space) | %20 | U+0020 |
| ! | %21 | U+0021 |
| # | %23 | U+0023 |
| $ | %24 | U+0024 |
| & | %26 | U+0026 |
| + | %2B | U+002B |
| , | %2C | U+002C |
| / | %2F | U+002F |
| : | %3A | U+003A |
| ; | %3B | U+003B |
| = | %3D | U+003D |
| ? | %3F | U+003F |
| @ | %40 | U+0040 |
| [ | %5B | U+005B |
| ] | %5D | U+005D |
프로그래밍 언어별 URL 인코딩
JavaScript
encodeURIComponent('hello world')
// → "hello%20world"
decodeURIComponent('hello%20world')
// → "hello world"
encodeURI('https://example.com/search?q=hello world')
// → "https://example.com/search?q=hello%20world"Python
from urllib.parse import quote, unquote
quote('hello world')
# → "hello%20world"
unquote('hello%20world')
# → "hello world"PHP
urlencode('hello world');
// → "hello+world"
rawurlencode('hello world');
// → "hello%20world"
urldecode('hello%20world');
// → "hello world"Java
URLEncoder.encode("hello world", "UTF-8");
// → "hello+world"
URLDecoder.decode("hello+world", "UTF-8");
// → "hello world"C#
Uri.EscapeDataString("hello world");
// → "hello%20world"
Uri.UnescapeDataString("hello%20world");
// → "hello world"Ruby
require 'uri'
URI.encode_www_form_component('hello world')
# → "hello+world"
URI.decode_www_form_component('hello+world')
# → "hello world"자주 묻는 질문
어떤 문자를 URL 인코딩해야 하나요?
URL 인코딩이 필요한 문자에는 공백, &, =, ?, #, % 같은 특수 문자 및 모든 비ASCII 문자가 포함됩니다. 인코딩이 필요하지 않은 비예약 문자: A-Z, a-z, 0-9, 하이픈(-), 밑줄(_), 마침표(.), 틸드(~).
URL에서 %20과 +의 차이점은 무엇인가요?
%20은 URL 경로에서 공백을 나타내며 표준 퍼센트 인코딩입니다. + 기호는 application/x-www-form-urlencoded 형식을 사용할 때 쿼리 문자열 매개변수에서만 공백을 나타냅니다.
URL 인코딩은 Base64 인코딩과 같은 건가요?
아닙니다. URL 인코딩은 URL의 특수 문자를 %XX 16진수 형식으로 변환합니다. Base64 인코딩은 이진 데이터를 64개의 인쇄 가능한 ASCII 문자를 사용하여 텍스트 문자열로 변환합니다.
JavaScript에서 URL을 어떻게 디코딩하나요?
URL 구성 요소를 디코딩하려면 decodeURIComponent()를, 전체 URL을 디코딩하려면 decodeURI()를 사용하세요.
RFC 3986이란 무엇인가요?
RFC 3986은 URI(Uniform Resource Identifiers)의 구문을 정의하는 표준입니다. URL에서 허용되는 문자와 특수 문자를 퍼센트 인코딩하는 방법을 지정합니다.
URL에 %3D와 %26이 있는 이유는 무엇인가요?
%3D는 등호(=)의 URL 인코딩 형식이고 %26은 앰퍼샌드(&)의 인코딩 형식입니다. 이 문자들은 URL에서 특별한 의미를 가지므로 데이터 값으로 사용할 때 인코딩해야 합니다.
URL 인코딩에 대해 더 알아보기
URL 인코딩 모범 사례에 대한 심층 가이드와 튜토리얼을 읽어보세요.
블로그 방문하기