URL Encode / Decode

Encode and decode URLs and URI components for safe transmission and proper formatting.

Developer Tool
URL Processing
Query String
Encoding Options
Configure encoding/decoding methods
Text to Encode
Enter text to encode for URL usage
Examples
Check out various URL encoding/decoding examples
Example 1
Original
Hello World!
Encoded
%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94%20%EC%84%B8%EA%B3%84%21
Example 2
Original
Hello World!
Encoded
Hello%20World%21
Example 3
Original
user@example.com
Encoded
user%40example.com
Example 4
Original
https://example.com/search?q=test
Encoded
https%3A//example.com/search%3Fq%3D%ED%85%8C%EC%8A%A4%ED%8A%B8
Example 5
Original
JSON format: english search data
Encoded
search=%ED%95%9C%EA%B8%80%20%EA%B2%80%EC%83%89&page=1
URL Encoding Guide

What is URL Encoding?

URL encoding is a method used to safely transmit special characters, spaces, and Unicode characters in URLs. It converts special characters to '%' symbol followed by hexadecimal codes.

Processing Mode Descriptions

  • Standard URL Encoding: Uses encodeURIComponent() or encodeURI()
  • Query String (qs): Convert objects to query strings or parse them
  • Form Data: Handle form data in key=value format

When to Use?

  • • When including special characters or non-ASCII characters in URL query parameters
  • • When transmitting form data
  • • When sending data with special characters in API requests
  • • When ensuring URL safety in web development

Common Encoding Characters

Space → %20
! → %21
@ → %40
# → %23
$ → %24
% → %25
& → %26
+ → %2B

qs Library Example

import qs from 'qs';

const encoded = qs.stringify({ a: '1 2', b: ['x', 'y'] }, { encode: true });
// → a=1%202&b[0]=x&b[1]=y

const decoded = qs.parse(encoded);
// → { a: '1 2', b: ['x', 'y'] }

Character Encoding

Character encoding refers to converting strings to specific encoding formats. In URL encoding, character encoding can convert strings to various encoding formats like UTF-8, EUC-KR, ISO-8859-1, etc.

    URL Encode / Decode