URL エンコード / デコード
URLやクエリ文字列を安全にエンコード・デコード。
すべてブラウザ内で動作します。入力内容がアップロードされることはありません。
Component or full URL?
コンポーネントをエンコード escapes everything, including / ? & =, which is what you want for a single query-string value. URL全体をエンコード keeps the URL's structure and only escapes characters such as spaces.