About This Tool
What is URL Encoder / Decoder?
A tool for encoding and decoding URL strings. URL encoding is essential when web addresses contain special characters, spaces, or non-ASCII characters like CJK text. It ensures safe transmission of query parameters in web requests.
How to Use
- Enter the string you want to encode or decode in the input area.
- Click 'Encode' to convert special characters to percent-encoding (%XX).
- Click 'Decode' to restore encoded strings to their original characters.
- Copy the result for use in your project.
Key Features
- Standard URL encoding based on encodeURIComponent
- Full support for non-ASCII characters including CJK
- Bidirectional encode/decode conversion
- Real-time result display
Tips
- Special characters like &, =, ?, and # must be encoded in URLs to work as intended.
- Spaces are converted to %20 or + during URL encoding.
- Always encode user input in query parameters when making API calls.
URL Encoder / Decoder
Encode or decode URL strings
Frequently Asked Questions
Perbedaan encodeURI() dan encodeURIComponent()?▼
encodeURI() mempertahankan :, /, ? dan #. encodeURIComponent() mengenkode semuanya, cocok untuk nilai parameter.
Mengapa spasi menjadi %20 atau +?▼
%20 standar di URL. + hanya untuk application/x-www-form-urlencoded. %20 lebih universal.
Perlu mengenkode karakter non-Inggris?▼
Ya. Karakter non-ASCII harus di-encode. Browser menampilkan versi decode, tapi HTTP menggunakan bentuk encoded.
Related Tools
Codec (Encoder / Decoder)
Encode and decode text in Base64, Base64URL, Base32, Hex, and ASCII85
Data Format Converter
Convert and validate between JSON, YAML, TOML, XML, INI, and Properties formats
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text
JWT Encoder / Decoder
Encode or decode JWT tokens
Regex Tester
Test regular expressions with real-time matching
Case Converter
Convert text between camelCase, PascalCase, snake_case, and more — all at once