{"id":154,"date":"2026-09-19T07:45:07","date_gmt":"2026-09-18T22:45:07","guid":{"rendered":"https:\/\/motoki-design.co.jp\/tools\/url-encode\/"},"modified":"2026-09-19T07:59:30","modified_gmt":"2026-09-18T22:59:30","slug":"url-encode","status":"publish","type":"page","link":"https:\/\/motoki-design.co.jp\/tools\/url-encode\/","title":{"rendered":"URL\u30a8\u30f3\u30b3\u30fc\u30c9\u30fb\u30c7\u30b3\u30fc\u30c9\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<div id=\"wt-urlenc\" class=\"wt-tool\">\n\t<p class=\"wt-lead\">\u65e5\u672c\u8a9e\u3092\u542b\u3080URL\u3092<strong>\u30d1\u30fc\u30bb\u30f3\u30c8\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u5909\u63db<\/strong>\u3057\u305f\u308a\u3001\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305fURL\u3092<strong>\u8aad\u3081\u308b\u5f62\u306b\u623b\u3057\u305f\u308a<\/strong>\u3067\u304d\u307e\u3059\u3002\u65e5\u672c\u8a9eURL\u3092\u305d\u306e\u307e\u307e\u30ea\u30f3\u30af\u306b\u66f8\u304f\u3068\u74b0\u5883\u306b\u3088\u3063\u3066\u58ca\u308c\u308b\u305f\u3081\u3001\u5909\u63db\u3057\u3066\u304a\u304f\u3068\u5b89\u5fc3\u3067\u3059\u3002<\/p>\n\n\t<div class=\"wt-policy\" style=\"border-color:#cfe3cf;background:#f3faf3;margin-top:0\">\n\t\t<p class=\"wt-policy-title\">\ud83d\udd12 \u3053\u306e\u51e6\u7406\u306f\u30d6\u30e9\u30a6\u30b6\u306e\u4e2d\u3060\u3051\u3067\u5b8c\u7d50\u3057\u307e\u3059<\/p>\n\t\t<ul><li>\u5165\u529b\u3057\u305fURL\u306f<strong>\u30b5\u30fc\u30d0\u30fc\u306b\u4e00\u5207\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093<\/strong>\u3002\u793e\u5916\u306b\u51fa\u305b\u306a\u3044URL\u3067\u3082\u5b89\u5fc3\u3057\u3066\u304a\u4f7f\u3044\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/li><\/ul>\n\t<\/div>\n\n\t<form class=\"wt-form\" style=\"margin-top:1.2em\" onsubmit=\"return false\">\n\t\t<div class=\"wt-field\">\n\t\t\t<label for=\"wt-ue-in\">\u5909\u63db\u3057\u305f\u3044\u30c6\u30ad\u30b9\u30c8\uff081\u884c\u306b1\u3064\u3002\u8907\u6570\u884c\u307e\u3068\u3081\u3066\u5909\u63db\u3067\u304d\u307e\u3059\uff09<\/label>\n\t\t\t<textarea id=\"wt-ue-in\" class=\"wt-input\" rows=\"5\" spellcheck=\"false\" placeholder=\"https:\/\/example.co.jp\/\u4f1a\u793e\u6982\u8981\/&#10;\u304a\u554f\u3044\u5408\u308f\u305b\"><\/textarea>\n\t\t<\/div>\n\t\t<div class=\"wt-fields\">\n\t\t\t<div class=\"wt-field\">\n\t\t\t\t<label for=\"wt-ue-mode\">\u5909\u63db\u306e\u7a2e\u985e<\/label>\n\t\t\t\t<select id=\"wt-ue-mode\" class=\"wt-select\" style=\"width:100%\">\n\t\t\t\t\t<option value=\"uri\">URL\u5168\u4f53\u3092\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u63a8\u5968\u30fb\u8a18\u53f7\u306f\u6b8b\u3059\uff09<\/option>\n\t\t\t\t\t<option value=\"component\">\u30d1\u30e9\u30e1\u30fc\u30bf\u7528\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u8a18\u53f7\u3082\u5909\u63db\uff09<\/option>\n\t\t\t\t\t<option value=\"decode\">\u30c7\u30b3\u30fc\u30c9\uff08\u5143\u306b\u623b\u3059\uff09<\/option>\n\t\t\t\t<\/select>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/form>\n\n\t<div class=\"wt-result\" hidden><\/div>\n\n\t<div class=\"wt-disclaimer\">\n\t\t<strong>2\u7a2e\u985e\u306e\u4f7f\u3044\u5206\u3051<\/strong><br>\n\t\t<strong>URL\u5168\u4f53\u3092\u30a8\u30f3\u30b3\u30fc\u30c9<\/strong>\u306f <code>encodeURI<\/code> \u76f8\u5f53\u3067\u3001<code>\/<\/code> \u3084 <code>?<\/code> \u306a\u3069URL\u306e\u69cb\u9020\u306b\u4f7f\u3046\u8a18\u53f7\u306f\u305d\u306e\u307e\u307e\u6b8b\u3057\u307e\u3059\u3002\u30ea\u30f3\u30af\u5148URL\u3092\u5909\u63db\u3059\u308b\u3068\u304d\u306f\u3053\u3061\u3089\u3067\u3059\u3002<br>\n\t\t<strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u7528\u306b\u30a8\u30f3\u30b3\u30fc\u30c9<\/strong>\u306f <code>encodeURIComponent<\/code> \u76f8\u5f53\u3067\u3001\u8a18\u53f7\u3082\u3059\u3079\u3066\u5909\u63db\u3057\u307e\u3059\u3002<code>?q=<\/code> \u306e\u5f8c\u308d\u306b\u5165\u308c\u308b\u691c\u7d22\u8a9e\u306a\u3069\u3092\u5909\u63db\u3059\u308b\u3068\u304d\u306b\u4f7f\u3044\u307e\u3059\u3002\u7528\u9014\u3092\u9593\u9055\u3048\u308b\u3068\u30ea\u30f3\u30af\u304c\u58ca\u308c\u308b\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\n\t<\/div>\n\n\t<div class=\"wt-faq\">\n\t\t<details>\n\t\t\t<summary>\u65e5\u672c\u8a9eURL\u306f\u305d\u306e\u307e\u307e\u4f7f\u3063\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u304b\uff1f<\/summary>\n\t\t\t<p>\u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u5165\u529b\u3059\u308b\u5206\u306b\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3057<strong>HTML\u306ehref\u5c5e\u6027\u3084\u30e1\u30fc\u30eb\u672c\u6587\u3001CSV\u306a\u3069\u306b\u66f8\u304f\u3068\u304d\u306f\u5909\u63db\u3057\u3066\u304a\u304f\u306e\u304c\u5b89\u5168<\/strong>\u3067\u3059\u3002\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u6587\u5b57\u5316\u3051\u3057\u305f\u308a\u3001\u30ea\u30f3\u30af\u304c\u9014\u4e2d\u3067\u5207\u308c\u305f\u308a\u3057\u307e\u3059\u3002WordPress\u306f\u65e5\u672c\u8a9e\u30b9\u30e9\u30c3\u30b0\u3092\u5185\u90e8\u7684\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u3066\u4fdd\u6301\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308bURL\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3068\u65e2\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u6e08\u307f\u306e\u3053\u3068\u3082\u591a\u3044\u3067\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>%E3%81%82 \u306e\u3088\u3046\u306a\u6587\u5b57\u5217\u306f\u4f55\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u65e5\u672c\u8a9e1\u6587\u5b57\u3092UTF-8\u306e\u30d0\u30a4\u30c8\u5217\uff08\u591a\u304f\u306f3\u30d0\u30a4\u30c8\uff09\u3067\u8868\u3057\u3001\u5404\u30d0\u30a4\u30c8\u3092 <code>%<\/code> + 16\u9032\u65702\u6841\u3067\u66f8\u3044\u305f\u3082\u306e\u3067\u3059\u3002\u300c\u3042\u300d\u306a\u3089 <code>%E3%81%82<\/code> \u306b\u306a\u308a\u307e\u3059\u3002\u3064\u307e\u308a<strong>\u65e5\u672c\u8a9eURL\u306f\u5909\u63db\u3059\u308b\u30683\u500d\u4ee5\u4e0a\u306b\u9577\u304f\u306a\u308a\u307e\u3059<\/strong>\u3002SNS\u3067\u306e\u898b\u305f\u76ee\u3084QR\u30b3\u30fc\u30c9\u306e\u30b5\u30a4\u30ba\u3092\u6c17\u306b\u3059\u308b\u5834\u5408\u306f\u3001\u82f1\u6570\u5b57\u306e\u30b9\u30e9\u30c3\u30b0\u306b\u3057\u3066\u304a\u304f\u307b\u3046\u304c\u6271\u3044\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t<\/div>\n<\/div>\n\n<div class=\"wt-tool\"><div class=\"wt-policy\"><p class=\"wt-policy-title\">\ud83d\udd12 \u8abf\u3079\u305f\u5185\u5bb9\u306f\u8a18\u9332\u30fb\u516c\u958b\u3057\u307e\u305b\u3093<\/p><ul><li><strong>\u691c\u7d22\u3057\u305f\u5185\u5bb9\u3092\u4fdd\u5b58\u30fb\u4e00\u89a7\u5316\u30fb\u516c\u958b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8abf\u67fb\u7d50\u679c\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5316\u3057\u3066\u691c\u7d22\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3001\u4ed6\u306e\u5229\u7528\u8005\u306b\u898b\u305b\u305f\u308a\u3059\u308b\u3053\u3068\u306f\u4e00\u5207\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li><strong>\u691c\u7d22\u5c65\u6b74\u3092\u6b8b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8ab0\u304c\u4f55\u3092\u8abf\u3079\u305f\u304b\u3092\u7d10\u3065\u3051\u3066\u84c4\u7a4d\u3059\u308b\u3053\u3068\u306f\u3057\u307e\u305b\u3093\u3002\u4f1a\u54e1\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3\u3082\u4e0d\u8981\u3067\u3059\u3002<\/li><li><strong>\u7b2c\u4e09\u8005\u306b\u63d0\u4f9b\u30fb\u8ca9\u58f2\u3057\u307e\u305b\u3093\u3002<\/strong>\u55b6\u696d\u30ea\u30b9\u30c8\u3084\u5e83\u544a\u76ee\u7684\u3067\u306e\u5229\u7528\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u30b5\u30fc\u30d0\u30fc\u8ca0\u8377\u3092\u6291\u3048\u308b\u305f\u3081\u3001<strong>\u5224\u5b9a\u7d50\u679c\u306e\u307f\u6700\u59271\u6642\u9593\u306e\u4e00\u6642\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>\u306b\u4fdd\u6301\u3057\u3001\u6642\u9593\u306e\u7d4c\u904e\u3067\u81ea\u52d5\u7684\u306b\u6d88\u3048\u307e\u3059\u3002\u9023\u7d9a\u30a2\u30af\u30bb\u30b9\u306e\u5236\u9650\u7528\u306bIP\u30a2\u30c9\u30ec\u30b9\u3092<strong>\u30cf\u30c3\u30b7\u30e5\u5316\u3057\u305f\u5024<\/strong>\u3092\u6700\u592710\u5206\u9593\u3060\u3051\u4fdd\u6301\u3057\u307e\u3059\uff08\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u4fdd\u5b58\u3057\u307e\u305b\u3093\uff09\u3002<\/li><li>\u8abf\u3079\u305f\u5bfe\u8c61\u306f\u5171\u6709\u7528\u306bURL\u306e<code>#<\/code>\u4ee5\u964d\u306b\u4ed8\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u90e8\u5206\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u3082\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u306b\u3082\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\u3002<\/li><\/ul><\/div><\/div>\n\n<script>\n(function () {\n\tvar root = document.getElementById('wt-urlenc');\n\tif (!root || !window.WT) return;\n\tvar W = WT;\n\tvar resultBox = root.querySelector('.wt-result');\n\tvar input = document.getElementById('wt-ue-in');\n\tvar mode = document.getElementById('wt-ue-mode');\n\n\tfunction convert(line, how) {\n\t\ttry {\n\t\t\tif (how === 'decode') return decodeURIComponent(line.replace(\/\\+\/g, ' '));\n\t\t\tif (how === 'component') return encodeURIComponent(line);\n\t\t\treturn encodeURI(line);\n\t\t} catch (e) {\n\t\t\treturn '\uff08\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff1a' + e.message + '\uff09';\n\t\t}\n\t}\n\n\tfunction render() {\n\t\tvar lines = input.value.split(\/\\r?\\n\/).filter(function (l) { return l.trim(); });\n\t\tif (!lines.length) { resultBox.hidden = true; return; }\n\n\t\tvar how = mode.value;\n\t\tvar rows = lines.map(function (l) {\n\t\t\treturn { before: l, after: convert(l.trim(), how) };\n\t\t});\n\t\tvar text = rows.map(function (r) { return r.after; }).join('\\n');\n\n\t\tvar html = '<h3 class=\"wt-h\">\u5909\u63db\u7d50\u679c<\/h3>';\n\t\thtml += '<div class=\"wt-toolbar\"><button type=\"button\" class=\"wt-mini\" id=\"wt-ue-copy\">\u7d50\u679c\u3092\u30b3\u30d4\u30fc<\/button>' +\n\t\t\t'<span class=\"wt-count\">' + rows.length + ' \u884c<\/span><\/div>';\n\t\thtml += '<pre class=\"wt-code\" style=\"white-space:pre-wrap\">' + W.esc(text) + '<\/pre>';\n\n\t\thtml += W.dataTable({\n\t\t\tid: 'wt-ue-table',\n\t\t\tfilename: 'url-encode.csv',\n\t\t\trows: rows,\n\t\t\tcolumns: [\n\t\t\t\t{ key: 'before', label: '\u5909\u63db\u524d', wrap: true },\n\t\t\t\t{ key: 'after', label: '\u5909\u63db\u5f8c', wrap: true }\n\t\t\t]\n\t\t});\n\n\t\tresultBox.innerHTML = html;\n\t\tresultBox.hidden = false;\n\t\tdocument.getElementById('wt-ue-copy').addEventListener('click', function () { W.copy(text, this); });\n\t}\n\n\tinput.addEventListener('input', render);\n\tmode.addEventListener('change', render);\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u672c\u8a9e\u3092\u542b\u3080URL\u3092\u30d1\u30fc\u30bb\u30f3\u30c8\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u5909\u63db\u3057\u305f\u308a\u3001\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305fURL\u3092\u8aad\u3081\u308b\u5f62\u306b\u623b\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u65e5\u672c\u8a9eURL\u3092\u305d\u306e\u307e\u307e\u30ea\u30f3\u30af\u306b\u66f8\u304f\u3068\u74b0\u5883\u306b\u3088\u3063\u3066\u58ca\u308c\u308b\u305f\u3081\u3001\u5909\u63db\u3057\u3066\u304a\u304f\u3068\u5b89\u5fc3\u3067\u3059\u3002 \ud83d\udd12 \u3053\u306e\u51e6\u7406\u306f\u30d6\u30e9\u30a6\u30b6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ssp_meta_description":"\u65e5\u672c\u8a9e\u3092\u542b\u3080URL\u3092\u30d1\u30fc\u30bb\u30f3\u30c8\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u5909\u63db\u3001\u307e\u305f\u306f\u30a8\u30f3\u30b3\u30fc\u30c9\u6e08\u307fURL\u3092\u8aad\u3081\u308b\u5f62\u306b\u623b\u3057\u307e\u3059\u3002\u8907\u6570\u884c\u307e\u3068\u3081\u3066\u51e6\u7406\u3067\u304d\u3001\u30d6\u30e9\u30a6\u30b6\u5185\u3067\u5b8c\u7d50\u3059\u308b\u306e\u3067URL\u306f\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\u3002\u4f1a\u54e1\u767b\u9332\u4e0d\u8981\u3002","ssp_meta_title":"URL\u30a8\u30f3\u30b3\u30fc\u30c9\u30fb\u30c7\u30b3\u30fc\u30c9\uff5c\u65e5\u672c\u8a9eURL\u3092\u7121\u6599\u5909\u63db","ssp_meta_robots":"","ssp_meta_canonical":"","ssp_meta_image":"","ssp_meta_keyword":"","footnotes":""},"class_list":["post-154","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":1,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/154\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/154\/revisions\/161"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/media?parent=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}