{"id":955,"date":"2026-06-08T10:29:58","date_gmt":"2026-06-08T10:29:58","guid":{"rendered":"https:\/\/quicktoolz.net\/blog\/?p=955"},"modified":"2026-06-08T10:29:58","modified_gmt":"2026-06-08T10:29:58","slug":"how-to-url-encode-decode-online","status":"publish","type":"post","link":"https:\/\/quicktoolz.net\/blog\/?p=955","title":{"rendered":"How to URL Encode and Decode Text Online for Free"},"content":{"rendered":"<p><em>Use the free <a href=\"https:\/\/quicktoolz.net\/\">QuickToolz<\/a> developer tools \u2014 no signup, no install, works in your browser.<\/em><\/p>\n<p><svg viewBox=\"0 0 700 220\" width=\"100%\" style=\"display:block;max-width:700px;\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><rect width=\"700\" height=\"220\" rx=\"12\" fill=\"#fefce8\"\/><text x=\"350\" y=\"38\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"15\" font-weight=\"700\" fill=\"#a16207\">Step-by-Step Guide<\/text><rect x=\"22\" y=\"84\" width=\"140\" height=\"52\" rx=\"8\" fill=\"#ffffff\" stroke=\"#eab308\" stroke-width=\"1.5\"\/><circle cx=\"38\" cy=\"100\" r=\"9\" fill=\"#eab308\"\/><text x=\"38\" y=\"105\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"700\" fill=\"#ffffff\">1<\/text><text x=\"92\" y=\"117\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#a16207\">Paste your text<\/text><polygon points=\"169,105 179,110 169,115\" fill=\"#eab308\"\/><rect x=\"194\" y=\"84\" width=\"140\" height=\"52\" rx=\"8\" fill=\"#ffffff\" stroke=\"#eab308\" stroke-width=\"1.5\"\/><circle cx=\"210\" cy=\"100\" r=\"9\" fill=\"#eab308\"\/><text x=\"210\" y=\"105\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"700\" fill=\"#ffffff\">2<\/text><text x=\"264\" y=\"111\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#a16207\">Choose<\/text><text x=\"264\" y=\"124\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#a16207\">encode\/decode<\/text><polygon points=\"341,105 351,110 341,115\" fill=\"#eab308\"\/><rect x=\"366\" y=\"84\" width=\"140\" height=\"52\" rx=\"8\" fill=\"#ffffff\" stroke=\"#eab308\" stroke-width=\"1.5\"\/><circle cx=\"382\" cy=\"100\" r=\"9\" fill=\"#eab308\"\/><text x=\"382\" y=\"105\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"700\" fill=\"#ffffff\">3<\/text><text x=\"436\" y=\"117\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#a16207\">Result appears<\/text><polygon points=\"513,105 523,110 513,115\" fill=\"#eab308\"\/><rect x=\"538\" y=\"84\" width=\"140\" height=\"52\" rx=\"8\" fill=\"#ffffff\" stroke=\"#eab308\" stroke-width=\"1.5\"\/><circle cx=\"554\" cy=\"100\" r=\"9\" fill=\"#eab308\"\/><text x=\"554\" y=\"105\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"700\" fill=\"#ffffff\">4<\/text><text x=\"608\" y=\"117\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#a16207\">Copy output<\/text><text x=\"350\" y=\"185\" text-anchor=\"middle\" font-family=\"Inter,system-ui,sans-serif\" font-size=\"12\" fill=\"#a16207\" opacity=\"0.7\">quicktoolz.net \u2014 Free Online Developer Tools<\/text><\/svg><\/p>\n<h2>What Is URL Encoding?<\/h2>\n<p>URL encoding (also called percent-encoding) converts characters that are not allowed in URLs into a safe format. Each unsafe character is replaced with a percent sign followed by two hexadecimal digits. For example, a space becomes %20, and an ampersand becomes %26. This ensures URLs work correctly across all browsers and servers.<\/p>\n<h2>How to URL Encode Text Online<\/h2>\n<ol>\n<li><strong>Paste your text<\/strong> into the URL Encoder input box.<\/li>\n<li><strong>Choose Encode<\/strong> to convert special characters to percent-encoded format.<\/li>\n<li><strong>The encoded URL<\/strong> appears in the output box instantly.<\/li>\n<li><strong>Copy the result<\/strong> and use it in your application or browser.<\/li>\n<\/ol>\n<h2>How to URL Decode<\/h2>\n<p>Switch to Decode mode, paste your percent-encoded string, and the original readable text appears. This is useful for reading encoded query strings in URLs or debugging API requests.<\/p>\n<h2>Which Characters Get Encoded?<\/h2>\n<p>Characters that must be encoded in URLs include spaces, quotes, angle brackets, curly braces, pipe, backslash, caret, backtick, and all non-ASCII characters. Characters that are safe and stay unchanged include letters (A\u2013Z, a\u2013z), digits (0\u20139), hyphens, underscores, periods, and tildes.<\/p>\n<h2>URL Encoding vs Form Encoding<\/h2>\n<p>Standard URL encoding uses %20 for spaces. HTML form encoding (application\/x-www-form-urlencoded) uses + for spaces instead. When encoding query string parameters submitted from a form, use form encoding. When encoding path segments or values in REST APIs, use standard URL encoding.<\/p>\n<h2>Common Uses for URL Encoding<\/h2>\n<p>URL encoding is essential when building query strings programmatically. If a search query contains an ampersand, it must be encoded as %26 or the server will treat it as a parameter separator. When passing URLs as parameter values inside other URLs, the inner URL must be fully encoded. Special characters in filenames that appear in URLs also need encoding.<\/p>\n<h2>Frequently Asked Questions<\/h2>\n<p><strong>Should I encode the entire URL?<\/strong> No \u2014 only encode the values within query parameters and path segments, not the full URL including protocol and domain.<\/p>\n<p><strong>What is the difference between encodeURI and encodeURIComponent in JavaScript?<\/strong> encodeURI encodes a full URL and leaves structural characters like \/ and ? intact. encodeURIComponent encodes everything including those characters \u2014 use it for individual parameter values.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use the free QuickToolz developer tools \u2014 no signup, no install, works in your browser. Step-by-Step Guide1Paste your text2Chooseencode\/decode3Result appears4Copy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[6],"tags":[],"class_list":["post-955","post","type-post","status-publish","format-standard","hentry","category-developer"],"_links":{"self":[{"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=955"}],"version-history":[{"count":0,"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/955\/revisions"}],"wp:attachment":[{"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quicktoolz.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}