URLエンコード/デコードツール
URLコンポーネントを安全にエンコード・デコードします。
返済スケジュール
| # | 支払い | 元金 | 利息 | 残高 |
|---|---|---|---|---|
時間経過による成長
| 年 | 投資額 | 値 |
|---|---|---|
はじめに
URL Encoder / Decoder - Encode and decode URL components safely. Enter Mode, Text to get an instant result.
計算式
Percent-encodes (or decodes) characters that aren't valid in a URL, replacing them with %XX hex escape sequences.
ステップごとの説明
- Enter the Mode.
- Enter the Text.
- Click Calculate to see your result instantly.
実例
Example: With Mode = encode, the URL Encoder / Decoder gives Encoded: https%3A%2F%2Fcalchub.example%2Fa%20b.
よくある質問
Why do spaces become %20?
When would I need to decode a URL?
What inputs does the URL Encoder / Decoder need?
How accurate is the URL Encoder / Decoder?
Is the URL Encoder / Decoder free to use?
URLエンコード/デコードツールについて
URLs can only contain a limited set of characters. Letters, digits, and a small number of symbols are allowed directly in a URL. All other characters, including spaces, non-ASCII characters, and many symbols, must be encoded using percent encoding before they can be safely included. The URL Encoder Decoder on CalculatorCast encodes or decodes any URL or URL component instantly.
Percent encoding, also called URL encoding, replaces unsafe characters with a percent sign followed by two hexadecimal digits representing the character's ASCII value. A space becomes %20. An at sign becomes %40. A forward slash that is part of data (not a path separator) becomes %2F. This encoding ensures that URLs can be transmitted correctly through any system without the data being misinterpreted as structural URL syntax.
URL encoding is essential in web development when building query strings that contain user input. If a user searches for a term like C++ programming, the plus signs and spaces must be encoded before being appended to a URL. Failing to encode these characters can break the URL structure or cause security vulnerabilities such as injection attacks.
The decoder direction is equally useful. When you receive a URL or a URL component that contains percent-encoded sequences, decoding it makes the value human-readable. Log analysis, debugging, and API testing all frequently involve reading and decoding URLs.
There are two standards for URL encoding: RFC 3986 encodes spaces as %20, while the HTML form encoding standard encodes spaces as plus signs (+). Our tool supports both standards and clearly labels which encoding is being applied, avoiding a common source of confusion.
Non-ASCII characters such as accented letters, Cyrillic, Chinese, Japanese, and Arabic characters require multi-byte UTF-8 encoding before percent encoding. Our tool handles this correctly, converting non-ASCII characters to their UTF-8 byte sequences and then percent-encoding each byte.
The URL Encoder Decoder is free on CalculatorCast, works on all devices, and requires no registration. Paste your URL or text and get the encoded or decoded result instantly.