ntones apps
|
リクエスト

URLエンコード/デコードURL Encoder / Decoder

URLをエンコード/デコード。encodeURI・encodeURIComponentを選択可。ブラウザ完結で外部送信なし。Encode/decode URLs. Choose between encodeURI and encodeURIComponent. Runs entirely in your browser.

ブラウザ完結(サーバー非送信)Browser-only (no server upload)

エンコード方式Encoding method

パラメータ値に使用。「/」「?」「&」「=」なども%エンコードされます。For parameter values. Also encodes /, ?, &, =.

使い方・ユースケース How to Use & Use Cases

テキスト欄にURLや文字列を入力し、エンコードまたはデコードを選びます。encodeURI(URL全体)とencodeURIComponent(パラメータ値)を切り替えて変換し、結果をコピーして使えます。処理はブラウザ内で完結します。 Enter a URL or string, choose Encode or Decode, and switch between encodeURI (full URL) and encodeURIComponent (parameter values). Copy the result for use in your code—all processing stays in the browser.

APIリクエストに日本語キーワードを渡す前の確認、ログに残った%XX形式の文字列を読みやすく戻す、リンク共有前に文字化けを防ぐときなどに便利です。開発・デバッグ中に手早く変換結果を確認したい場面向けです。 Handy when passing Japanese keywords in API requests, turning %XX strings in logs back into readable text, or fixing URLs before sharing. Ideal for quick checks during development and debugging.

よくある質問FAQ

どんな場面でURLエンコード/デコードを使いますか?When do I use URL encoding/decoding?

検索キーワードや日本語を含むURLをAPIやフォームに渡すとき、リンク共有前に文字化けを防ぐとき、ログや設定ファイルに書かれた%XX形式の文字列を人が読める形に戻すときなどに使います。ブラウザは自動でエンコードしますが、開発・デバッグ・データ確認では明示的な変換が必要になることが多いです。Typical uses include passing search keywords or Japanese text in API requests and forms, preventing broken links before sharing, and turning %XX strings in logs or config files back into readable text. Browsers encode URLs automatically, but developers often need explicit conversion for debugging and data checks.

このツールを使うメリットは何ですか?What are the benefits of this tool?

encodeURIとencodeURIComponentを用途に応じて選べるため、「URL全体」と「パラメータ値だけ」を間違えにくくなります。ブラウザ完結なので入力内容は外部に送信されず、エンコード結果をそのままコピーしてAPIテストや実装に使えます。日本語URLの確認・修正も手早く行えます。You can choose encodeURI or encodeURIComponent for the job, which helps avoid mixing up full-URL encoding vs. parameter-value encoding. Processing stays in the browser, so nothing is uploaded, and you can copy results straight into API tests or your code. It is also a quick way to fix or verify Japanese URLs.

エンコードとデコードの違いは何ですか?What is the difference between encoding and decoding?

エンコードは日本語などの文字を%XX形式に変換します。デコードはその逆で、%XX形式を元の文字に戻します。Encoding converts characters (e.g. Japanese) into %XX format. Decoding reverses the process.

encodeURIとencodeURIComponentの違いは何ですか?What is the difference between encodeURI and encodeURIComponent?

encodeURIはURL全体を対象にし、「/」「?」「&」などは変換しません。encodeURIComponentはパラメータ値を対象にし、これらの文字も変換します。通常はencodeURIComponentの使用を推奨します。encodeURI encodes a full URL and leaves characters like / and ? unchanged. encodeURIComponent encodes parameter values and converts those characters too. encodeURIComponent is recommended in most cases.

ファイルはサーバーに送られますか?Are files sent to a server?

送られません。処理はすべてブラウザ内で行われます。No. All processing happens in your browser on your device.

ページを閉じれば、端末内のデータは自動的に消去されます。契約書や顧客資料など、慎重に扱うデータも安心してご利用ください。When you close the page, data on your device is cleared automatically. Safe for sensitive files such as contracts and client documents.

関連ツールRelated Tools