1<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/site.webmanifest"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><meta name="msapplication-TileColor" content="#fefefe"/><meta name="theme-color" content="#ffffff"/><link rel="preload" href="https://unpkg.com/[email protected]/themes/prism-okaidia.css" as="script"/>
vendor: 66 bytes, line 1
1<script async="" src="https://www.googletagmanager.com/gtag/js?id=
1G-2R7GDT1J0H
vendor: 11 bytes, line 1
1"></script>
1<script> 2
vendor: 163 bytes, lines 2-5
2window.dataLayer = window.dataLayer || []; 3 function gtag(){dataLayer.push(arguments);} 4 gtag('js', new Date()); 5 gtag('config', '
5G-2R7GDT1J0H
vendor: 82 bytes, lines 5-8
5', { 6 page_path: window.location.pathname, 7 }); 8
8</script>
8<title>Blog articles for category url</title><meta name="title" content="Blog articles for category url"/><meta name="keywords" content="URL, URL Encoding, URL Decoding, URL Tools, URL Blog"/><meta name="description" content="Explore our comprehensive collection of articles on URL-related topics in the URL category. Dive into the intricacies of URL encoding, decoding, and more."/><meta property="og:type" content="website"/><meta property="og:url" content="https://toolsconverters.xyz/url"/><meta property="og:title" content="Blog articles for category url"/><meta property="og:description" content="Explore our comprehensive collection of articles on URL-related topics in the URL category. Dive into the intricacies of URL encoding, decoding, and more."/><meta property="og:image" content=""/><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:url" content="https://toolsconverters.xyz/url"/><meta property="twitter:title" content="Blog articles for category url"/><meta property="twitter:description" content="Explore our comprehensive collection of articles on URL-related topics in the URL category. Dive into the intricacies of URL encoding, decoding, and more."/><meta property="twitter:image" content=""/><meta name="next-head-count" content="26"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="1"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link rel="preload" href="/_next/static/css/ec8a7fa0bc0499c4.css" as="style"/><link rel="stylesheet" href="/_next/static/css/ec8a7fa0bc0499c4.css" data-n-g=""/><noscript data-n-css=""></noscript>
8<script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script>
8<script src="/_next/static/chunks/webpack-7f3e9765ca1adf95.js" defer=""></script>
8<script src="/_next/static/chunks/framework-715a76d8b0695da7.js" defer=""></script>
8<script src="/_next/static/chunks/main-09a6421ffa67d701.js" defer=""></script>
8<script src="/_next/static/chunks/pages/_app-a68874c163249d04.js" defer=""></script>
8<script src="/_next/static/chunks/675-129fd560f372ec0e.js" defer=""></script>
8<script src="/_next/static/chunks/pages/blog/%5Bcategory%5D-3a11f291024be455.js" defer=""></script>
8<script src="/_next/static/BsgIBl3G8GE5a0v_qmskp/_buildManifest.js" defer=""></script>
8<script src="/_next/static/BsgIBl3G8GE5a0v_qmskp/_ssgManifest.js" defer=""></script>
8<style data-href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap">@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew9.woff) format('woff')}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew9.woff) format('woff')}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu170w9.woff) format('woff')}@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff) format('woff')}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;
8src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}</style></head><body class="text-slate-700 bg-zinc-50 antialiased mx-2"><div id="__next"><div><div class="px-4 md:px-12 bg-white"><div class="flex flex-row md:inline-flex md:justify-between w-full text-xl font-bold py-2"><span class="inline-flex cursor-pointer"><svg xmlns="http://www.w3.org/2000/svg" class="w-8 h-8 text-white p-2 bg-indigo-500 rounded-full mr-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M3 21h4l13 -13a1.5 1.5 0 0 0 -4 -4l-13 13v4"></path><line x1="14.5" y1="5.5" x2="18.5" y2="9.5"></line><polyline points="12 8 7 3 3 7 8 12"></polyline><line x1="7" y1="8" x2="5.5" y2="9.5"></line><polyline points="16 12 21 17 17 21 12 16"></polyline><line x1="16" y1="17" x2="14.5" y2="18.5"></line></svg><span class="text-2xl ">Tools Coverters</span></span></div></div><h1 class="flex flex-row my-2 w-full text-4xl font-bold text-center justify-center">Blog articles for category<!-- --> <span class="bg-yellow-200 ml-2 px-4 capitalize">url</span></h1><div class="flex flex-wrap"><div class="px-2 md:px-12 mt-2 w-full bg-white rounded-lg"><div id="blog-area" class="flex flex-wrap w-full"><section class="text-gray-600 body-font"><div class="container px-5 py-24 mx-auto"><div class="flex flex-wrap -m-4"><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Demystifying URL Decoder - Your Top Questions Answered Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Demystifying URL Decoder - Your Top Questions Answered Image" src="/blog/url/url-decoder-faq.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Demystifying URL Decoder - Your Top Questions Answered</h1><p class="leading-relaxed mb-3 text-md">URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-decoder-faq">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Decoding URLs with Golang - A Comprehensive Guide Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Decoding URLs with Golang - A Comprehensive Guide Image" src="/blog/url/url-decoding-with-golang.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Decoding URLs with Golang - A Comprehensive Guide</h1><p class="leading-relaxed mb-3 text-md">URL decoding in Golang is probably the easiest. You can decode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-decoding-with-golang">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Mastering URL Decoding in Java - A Step-by-Step Tutorial Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Mastering URL Decoding in Java - A Step-by-Step Tutorial Image" src="/blog/url/url-decoding-with-java.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Mastering URL Decoding in Java - A Step-by-Step Tutorial</h1><p class="leading-relaxed mb-3 text-md">URL decoding in Java is probably the easiest. You can decode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-decoding-with-java">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Demystifying URL Decoding with JavaScript - An In-Depth Look Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Demystifying URL Decoding with JavaScript - An In-Depth Look Image" src="/blog/url/url-decoding-with-javascript.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Demystifying URL Decoding with JavaScript - An In-Depth Look</h1><p class="leading-relaxed mb-3 text-md">URL decoding in javascript is probably the easiest. You can encode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-decoding-with-javascript">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="URL Decoding in Python - A Practical Approach Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="URL Decoding in Python - A Practical Approach Image" src="/blog/url/url-decoding-with-python.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">URL Decoding in Python - A Practical Approach</h1><p class="leading-relaxed mb-3 text-md">URL decoding in Python is probably the easiest. You can decode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-decoding-with-python">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="URL Decoding with Ruby - A Detailed Explanation Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="URL Decoding with Ruby - A Detailed Explanation Image" src="/blog/url/url-decoding-with-ruby.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">URL Decoding with Ruby - A Detailed Explanation</h1><p class="leading-relaxed mb-3 text-md">URL decoding in Ruby is probably the easiest. You can decode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-decoding-with-ruby">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="URL Encoder Explained - Frequently Asked Questions Answered Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="URL Encoder Explained - Frequently Asked Questions Answered Image" src="/blog/url/url-encoder-faq.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">URL Encoder Explained - Frequently Asked Questions Answered</h1><p class="leading-relaxed mb-3 text-md">URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-encoder-faq">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="URL Encoding with Golang - A Developers Guide Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="URL Encoding with Golang - A Developers Guide Image" src="/blog/url/url-encoding-with-golang.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">URL Encoding with Golang - A Developers Guide</h1><p class="leading-relaxed mb-3 text-md">URL encoding in Golang is probably the easiest. You can encode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-encoding-with-golang">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="A Deep Dive into URL Encoding with Java Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="A Deep Dive into URL Encoding with Java Image" src="/blog/url/url-encoding-with-java.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">A Deep Dive into URL Encoding with Java</h1><p class="leading-relaxed mb-3 text-md">URL encoding in Java is probably the easiest. You can encode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-encoding-with-java">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="JavaScript and URL Encoding - A Comprehensive Guide Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="JavaScript and URL Encoding - A Comprehensive Guide Image" src="/blog/url/url-encoding-with-javascript.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">JavaScript and URL Encoding - A Comprehensive Guide</h1><p class="leading-relaxed mb-3 text-md">URL encoding in javascript is probably the easiest. You can encode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-encoding-with-javascript">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="URL Encoding in Python - A Detailed Tutorial Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="URL Encoding in Python - A Detailed Tutorial Image" src="/blog/url/url-encoding-with-python.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">URL Encoding in Python - A Detailed Tutorial</h1><p class="leading-relaxed mb-3 text-md">URL encoding in Python is probably the easiest. You can encode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-encoding-with-python">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Mastering URL Encoding with Ruby - A Complete Guide Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Mastering URL Encoding with Ruby - A Complete Guide Image" src="/blog/url/url-encoding-with-ruby.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Mastering URL Encoding with Ruby - A Complete Guide</h1><p class="leading-relaxed mb-3 text-md">URL encoding in Ruby is probably the easiest. You can encode URL components like a string or part of a string.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/url-encoding-with-ruby">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Understanding URL Slugs - What They Are and Their Importance Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Understanding URL Slugs - What They Are and Their Importance Image" src="/blog/url/what-is-a-slug-in-url.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url-slug</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Understanding URL Slugs - What They Are and Their Importance</h1><p class="leading-relaxed mb-3 text-md">URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/what-is-a-slug-in-URL">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Understanding URLs - What They Are and Why They Matter Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Understanding URLs - What They Are and Why They Matter Image" src="/blog/url/what-is-a-url.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Understanding URLs - What They Are and Why They Matter</h1><p class="leading-relaxed mb-3 text-md">URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/what-is-a-url">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="The Art of URL Decoding - A Comprehensive Guide Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="The Art of URL Decoding - A Comprehensive Guide Image" src="/blog/url/what-is-url-decoding.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">The Art of URL Decoding - A Comprehensive Guide</h1><p class="leading-relaxed mb-3 text-md">URL decoding is the process of converting characters entered as part of the Encoded URL in regular English characters. URL decoding is also called percent-decoding.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/what-is-url-decoding">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="URL Encoding Demystified - A Detailed Overview Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="URL Encoding Demystified - A Detailed Overview Image" src="/blog/url/what-is-url-encoding.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb-4"><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">URL Encoding Demystified - A Detailed Overview</h1><p class="leading-relaxed mb-3 text-md">URL encoding is the process of converting characters entered as part of the URL in a format that can be transmitted over the internet. URL encoding is also called percent-encoding. There are various characters that are allowed as part of an encoded URL and various characters that are not allowed.</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/what-is-url-encoding">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div><div class="flex flex-wrap p-4 md:w-1/3"><div class="h-full border-2 border-gray-200 border-opacity-60 rounded-lg overflow-hidden"><span style="box-sizing:border-box;display:block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;padding-top:56.25%"></span><img alt="Crafting Effective URL Slugs - A Comprehensive Guide Image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="responsive" class="my-2 p-12" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="Crafting Effective URL Slugs - A Comprehensive Guide Image" src="/blog/url/write-a-good-url-slug.png" decoding="async" data-nimg="responsive" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" class="my-2 p-12" loading="lazy"/></noscript></span><div class="p-6"><p class="tracking-widest text-xs title-font font-medium text-gray-800 mb
8-4"><span class="px-2 border mr-2 rounded py-1">url-slug</span><span class="px-2 border mr-2 rounded py-1">url</span></p><h1 class="title-font text-xl font-medium text-gray-900 mb-3">Crafting Effective URL Slugs - A Comprehensive Guide</h1><p class="leading-relaxed mb-3 text-md">A URL is the most critical aspect of your webpage. It is the address of your page. It tells the world that your page has some great content, and anyone on the internet can find your content at your URL. Creating a unique, user-friendly, crisp and contextual url slug is one of the most important impressions you can create for your users. Check out the best practices for creating your URL slug</p><div class="flex items-center flex-wrap "><a class="text-indigo-500 inline-flex items-center md:mb-2 lg:mb-0 tracking-wider leading-10 font-medium" href="/blog/url/write-good-url-slug">Learn More<svg class="w-4 h-4 ml-2" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M12 5l7 7-7 7"></path></svg></a></div></div></div></div></div></div></section></div></div></div><footer class="text-gray-200 body-font bg-black pb-8 border-t border-white"><div class="container px-5 py-8 mx-auto"><div class="flex flex-wrap md:text-left text-center order-first"><div class="lg:w-1/3 md:w-1/2 w-full px-4"><h2 class="title-font font-medium text-gray-100 tracking-widest text-sm mb-3">Free Tools</h2><ul class="list-none mb-4 md:mb-10 footer-link"><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/url-encoder">URL Encoder</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/url-decoder">URL Decoder</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/color-contrast-checker">Color Contrast Checker (WCAG)</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/xml-formatter">XML Formatter</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/faq-schema-generator">FAQ Schema Generator</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/url-slug-generator">URL Slug Generator</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/create-signature-online">E-Signature</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/invoice-generator">Invoice Generator</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/markdown-to-html">Markdown to Html</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/character-count">Character Count</a></li></ul></div><div class="lg:w-1/3 md:w-1/2 w-full px-4"><h2 class="title-font font-medium text-gray-100 tracking-widest text-sm mb-3">Blog Category</h2><ul class="list-none mb-4 md:mb-10 footer-link"><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/blog/url">Url</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/blog/accessibility">Accessibility</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/blog/signature">Signature</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/blog/markdown">Markdown</a></li></ul></div><div class="lg:w-1/3 md:w-1/2 w-full px-4"><h2 class="title-font font-medium text-gray-100 tracking-widest text-sm mb-3">FAQs</h2><ul class="list-none mb-4 md:mb-10 footer-link"><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/url-encoder/faq">Url Encoding</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/url-decoder/faq">Url Decoding</a></li></ul><h2 class="title-font font-medium text-gray-100 tracking-widest text-sm mb-3">Important Stuff</h2><ul class="list-none mb-10 footer-link"><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/privacy">Privacy</a></li><li class="my-2"><a class="text-gray-200 hover:text-white py-4 text-md no-underline" href="/sitemap">Sitemap</a></li></ul></div></div></div><div class=""><div class="container px-2 md:px-4 py-2 mx-auto flex items-center sm:flex-row flex-col"><a class="flex title-font font-medium items-center md:justify-start justify-center text-gray-100 no-underline pb-4 md:pb-0" href="/"><svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-white p-2 bg-indigo-500 rounded-full" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M3 21h4l13 -13a1.5 1.5 0 0 0 -4 -4l-13 13v4"></path><line x1="14.5" y1="5.5" x2="18.5" y2="9.5"></line><polyline points="12 8 7 3 3 7 8 12"></polyline><line x1="7" y1="8" x2="5.5" y2="9.5"></line><polyline points="16 12 21 17 17 21 12 16"></polyline><line x1="16" y1="17" x2="14.5" y2="18.5"></line></svg><span class="ml-3 text-md text-white">Tools & Converters</span></a><p class="text-sm text-white sm:ml-6 sm:mt-4">© 2023 Tools & Converters â<a href="https://twitter.com/abhaytalreja" rel="noopener noreferrer" class="text-gray-50 ml-1" target="_blank">@abhaytalreja</a></p></div></div></footer></div></div>
8<script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"docs":[{"slug":"url/url-decoder-faq","meta":{"title":"Demystifying URL Decoder - Your Top Questions Answered","description":"URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.","keywords":"what is a url, what does url mean, what is a url link, what is url address, what is the meaning of url, what is url example, what is url in computer, what is a permalink, what is bitly, what is tinyurl, what is a url and where is it located, what does io mean in url, what is url stand for, what is a website url, what do you mean by url, what is uniform resource locator, what is bitly used for, what is meant by url, what does a url look like, what is tiny url","imageUrl":"/blog/url/url-decoder-faq.png","titleSlug":"url-decoding-faq","category":["url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003ch2\u003eWhat does URL stands for?\u003c/h2\u003e\n\u003cp\u003eURL stands for Uniform Resource Locator\u003c/p\u003e\n\u003ch2\u003eWhat is a URL?\u003c/h2\u003e\n\u003cp\u003eURL (Uniform Resource Locator) is a unique identifer that is used by the browsers to locate a resource on the internet. Everything we access on the internet has an address. Hence, we always put a URL in the \u003ccode\u003eaddress bar\u003c/code\u003e of the browser.\u003c/p\u003e\n\u003ch2\u003eHow do I decode a URL?\u003c/h2\u003e\n\u003cp\u003eEvery programming language has its own implementation on decode a string or a URL. However, there are many free online tools available to \u003ca href=\"https://toolsconverters.xyz/url-decoder\" title=\"How do I decode a URL\"\u003eHow do I decode a URL\u003c/a\u003e\u003c/p\u003e\n\u003ch2\u003eWhat is the %27 symbol in a URL?\u003c/h2\u003e\n\u003cp\u003e\u003cem\u003esingle quote\u003c/em\u003e - A url encoded string in some cases will have a \u003ccode\u003e%27\u003c/code\u003e. URLs cannot consist of a special characters like a single quote and hence it has to be encoded into its Hexadecimal equivalent. Single Quote is \u003ccode\u003e27\u003c/code\u003e in hexadecimal.\u003c/p\u003e\n\u003ch2\u003eWhat is the %23 symbol in a URL?\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003ehash or pound or #\u003c/strong\u003e - A url encoded string in some cases will have a \u003ccode\u003e%23\u003c/code\u003e. URLs cannot consist of special characters like \u003ccode\u003e#\u003c/code\u003e and hence it has to be encoded into its Hexadecimal equivalent. \u003ccode\u003e%23\u003c/code\u003e is the hexadecimal value for \u003ccode\u003e#\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003eWhat is the %40 symbol in a URL?\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003e@\u003c/strong\u003e - A url encoded string in some cases will have a \u003ccode\u003e%40\u003c/code\u003e. URLs cannot consist of special characters like \u003ccode\u003e@\u003c/code\u003e and hence it has to be encoded into its Hexadecimal equivalent. \u003ccode\u003e%40\u003c/code\u003e is the hexadecimal value for \u003ccode\u003e@\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003eCan my browser decode URL?\u003c/h2\u003e\n\u003cp\u003eMost modern browsers are capable of encoding and decoding URL based on the use case. In most cases, URLs are encoded and transmitted in an encoded manner. However, just for the users viewing, it may be available in a decoded format for easier readability.\u003c/p\u003e\n"},{"slug":"url/url-decoding-with-golang","meta":{"title":"Decoding URLs with Golang - A Comprehensive Guide","description":"URL decoding in Golang is probably the easiest. You can decode URL components like a string or part of a string.","imageUrl":"/blog/url/url-decoding-with-golang.png","titleSlug":"url-decoding-with-golang","keywords":"url decoding, url decoding Golang, url decoding js, url decoding nodejs, urldecoded nodejs, url decode go lang","category":["url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eGolang as a language provides means to encode your strings. Go's \u003ca href=\"https://golang.org/pkg/net/url/\" title=\"How to encode a string or a URL in Golang using the QueryEscape function in the net/url\"\u003enet/url\u003c/a\u003e package provides a method called as \u003ca href=\"https://golang.org/pkg/net/url/#QueryEscape\" title=\"How to encode a string or a URL in Golang using the QueryEscape\"\u003eQueryEscape\u003c/a\u003e to encode a string or a URL.\u003c/p\u003e\n\u003ch2\u003eHow to encode a string or a URL in Golang using the QueryEscape\u003c/h2\u003e\n\u003cp\u003eHere is an example of how you can encode a string in Golang using the QueryEscape\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-go\"\u003e\u003ccode class=\"language-go\"\u003e\u003cspan class=\"token keyword\"\u003epackage\u003c/span\u003e main\n\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\n\t\u003cspan class=\"token string\"\u003e\"fmt\"\u003c/span\u003e\n\t\u003cspan class=\"token string\"\u003e\"net/url\"\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\n\u003cspan class=\"token keyword\"\u003efunc\u003c/span\u003e \u003cspan class=\"token function\"\u003emain\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\tquery \u003cspan class=\"token operator\"\u003e:=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"Tööls Cönverters xyz URLEncoder@Go\"\u003c/span\u003e\n\tfmt\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003ePrintln\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eurl\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eQueryEscape\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-go\"\u003e\u003ccode class=\"language-go\"\u003e#Output\nT\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6ls\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e20C\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6nverters\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e20xyz\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e20URLEncoder\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e40Go\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003ch2\u003eHow to decode a string or a URL in Golang using the QueryUnescape\u003c/h2\u003e\n\u003cp\u003eSimilar to the \u003ccode\u003eQueryEscape\u003c/code\u003e we can use the \u003ca href=\"https://golang.org/pkg/net/url/#QueryUnescape\" title=\"How to decode a string or a URL in Golang using the QueryUnescape\"\u003eQueryUnescape\u003c/a\u003e method from the \u003ca href=\"https://golang.org/pkg/net/url/\" title=\"How to encode a string or a URL in Golang using the QueryUnescape function in the net/url\"\u003enet/url\u003c/a\u003e from the Go library.\u003c/p\u003e\n\u003cp\u003eHere is an example of how you can encode a string in Golang using the QueryEscape\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-go\"\u003e\u003ccode class=\"language-go\"\u003e\u003cspan class=\"token keyword\"\u003epackage\u003c/span\u003e main\n\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\n\t\u003cspan class=\"token string\"\u003e\"fmt\"\u003c/span\u003e\n\t\u003cspan class=\"token string\"\u003e\"net/url\"\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\n\u003cspan class=\"token keyword\"\u003efunc\u003c/span\u003e \u003cspan class=\"token function\"\u003emain\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\tquery \u003cspan class=\"token operator\"\u003e:=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40GoTööls Cönverters xyz URLDecoder@Go\"\u003c/span\u003e\n\tfmt\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003ePrintln\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eurl\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eQueryUnescape\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-go\"\u003e\u003ccode class=\"language-go\"\u003e#Output\nTööls Cönverters xyz URLDecoder@Go\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Decoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-javascript\" title=\"URL decoding with Javascript\"\u003eURL decoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-python\" title=\"URL decoding with Python\"\u003eURL decoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-ruby\" title=\"URL decoding with Ruby\"\u003eURL decoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-java\" title=\"URL decoding with Java\"\u003eURL decoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-golang\" title=\"URL decoding with Golang\"\u003eURL decoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-decoding-with-java","meta":{"title":"Mastering URL Decoding in Java - A Step-by-Step Tutorial","description":"URL decoding in Java is probably the easiest. You can decode URL components like a string or part of a string.","imageUrl":"/blog/url/url-decoding-with-java.png","titleSlug":"url-decoding-with-java","keywords":"url decoding, url decoding Java, url decoding js, url decoding nodejs, urlencoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eIn order to encode a string or a URL in Java, you can use the \u003ca href=\"https://docs.oracle.com/javase/8/docs/api/java/net/URLEncoder.html\" title=\"JavaURLEncoder\"\u003eJavaURLEncoder\u003c/a\u003e method.\u003c/p\u003e\n\u003cp\u003eJava provides a \u003ccode\u003eURLEncoder\u003c/code\u003e class for encoding any string or URL. By default, the \u003ccode\u003eURLEncoder\u003c/code\u003e class in Java uses the \u003ccode\u003eUTF-8\u003c/code\u003e format.\u003c/p\u003e\n\u003cp\u003eSimilarly, if you want to decode a string in Java, you can do the same using the \u003ca href=\"https://docs.oracle.com/javase/7/docs/api/java/net/URLDecoder.html\" title=\"JavaURLDecoder\"\u003eJavaURLDecoder\u003c/a\u003e class. The default decoding format is \u003ccode\u003eUTF-8\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eIn frameworks like Dropwizard or Spring, the query strings and the form parameters are already decoded for you by the framework. However, if you are building any custom or stand alone java application, you can make use of the \u003ccode\u003eURLDecoder\u003c/code\u003e class.\u003c/p\u003e\n\u003ch4\u003eHow to encode a string or a URL in Java using the URLEncoder class\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003enet\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eURLEncoder\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003enio\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003echarset\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eio\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eUnsupportedEncodingException\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\n\u003cspan class=\"token keyword\"\u003eclass\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eURLEncodingExample\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\n \u003cspan class=\"token comment\"\u003e// Method to encode a string value using `UTF-8` encoding scheme\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"token keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeValue\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e value\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003etry\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003ereturn\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eURLEncoder\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eencode\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eUTF_8\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003etoString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e \u003cspan class=\"token keyword\"\u003ecatch\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eUnsupportedEncodingException\u003c/span\u003e ex\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003ethrow\u003c/span\u003e \u003cspan class=\"token keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eRuntimeException\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eex\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003egetCause\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\n \u003cspan class=\"token keyword\"\u003epublic\u003c/span\u003e \u003cspan class=\"token keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"token keyword\"\u003evoid\u003c/span\u003e \u003cspan class=\"token function\"\u003emain\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e[\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e]\u003c/span\u003e args\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e baseUrl \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"https://www.google.com/search?q=\"\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e query \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"Tööls Cönverters URLEncoder@Java\"\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e encodedQuery \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeValue\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e \u003cspan class=\"token comment\"\u003e// Encoding a query string\u003c/span\u003e\n\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e completeUrl \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e baseUrl \u003cspan class=\"token operator\"\u003e+\u003c/span\u003e encodedQuery\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eSystem\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eout\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eprintln\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003ecompleteUrl\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e# \u003cspan class=\"token class-name\"\u003eOutput\u003c/span\u003e\nhttps\u003cspan class=\"token operator\"\u003e:\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003ewww\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003egoogle\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003ecom\u003cspan class=\"token operator\"\u003e/\u003c/span\u003esearch\u003cspan class=\"token operator\"\u003e?\u003c/span\u003eq\u003cspan class=\"token operator\"\u003e=\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eT\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eB6ls\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003eC\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eB6nverters\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003exyz\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003eURLEncoder\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e40\u003c/span\u003eJava\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eYou can also click this URL encoded link and see the results yourself \u003ca href=\"https://www.google.com/search?q=T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Java\" title=\"Tööls Cönverters xyz URLEncoder@Java\"\u003eTööls Cönverters xyz URLEncoder@Java\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eAnother interesting to note about the \u003ccode\u003eURLEncoder\u003c/code\u003e class in Java is that it encodes the \u
8003ccode\u003espace\u003c/code\u003e character as a \u003ccode\u003e+\u003c/code\u003e v/s other languages that encode the \u003ccode\u003espace\u003c/code\u003e character into \u003ccode\u003e%20\u003c/code\u003e. You can check out this \u003ca href=\"https://stackoverflow.com/questions/2678551/when-to-encode-space-to-plus-or-20\" title=\"StackOverflow discussion on why Java converts space as plus sign\"\u003eStackOverflow discussion\u003c/a\u003e to understand the reasoning for character encoding of space as \u003ccode\u003e+\u003c/code\u003e v/s \u003ccode\u003e%20\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eIf you note the code we wrote above\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"token class-name\"\u003eURLEncoder\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eencode\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eUTF_8\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003etoString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eWe are passing the format in which we want the encoding to happen. Here we are exclusively using \u003ccode\u003eUTF-8\u003c/code\u003e format. You can choose to add another format that the function supports.\u003c/p\u003e\n\u003cp\u003eAn important thing to note is that if you are URL Encoding in JAVA, and you pass in a format that is not supported or you try to create your own word as the 2nd argument to \u003ccode\u003eencode\u003c/code\u003e. You will receive an \u003ccode\u003eUnsupportedEncodingException\u003c/code\u003e from the compiler.\u003c/p\u003e\n\u003ch4\u003eHow to decode a string or a URL in Java using the URLDecoder class\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003enet\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eURLDecoder\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003enio\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003echarset\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eio\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eUnsupportedEncodingException\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\n\u003cspan class=\"token keyword\"\u003eclass\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eURLDecodingExample\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\n \u003cspan class=\"token comment\"\u003e// Method to encode a string value using `UTF-8` encoding scheme\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"token keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e \u003cspan class=\"token function\"\u003edecodeValue\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e value\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003etry\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003ereturn\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eURLDecoder\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003edecode\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eUTF_8\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003etoString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e \u003cspan class=\"token keyword\"\u003ecatch\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eUnsupportedEncodingException\u003c/span\u003e ex\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003ethrow\u003c/span\u003e \u003cspan class=\"token keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eRuntimeException\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eex\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003egetCause\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\n \u003cspan class=\"token keyword\"\u003epublic\u003c/span\u003e \u003cspan class=\"token keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"token keyword\"\u003evoid\u003c/span\u003e \u003cspan class=\"token function\"\u003emain\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e[\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e]\u003c/span\u003e args\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e query \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLDecoder%40Java\"\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e encodedQuery \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003edecodeValue\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e \u003cspan class=\"token comment\"\u003e// Decoding a query string\u003c/span\u003e\n\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e completeUrl \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e encodedQuery\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eSystem\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eout\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eprintln\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003ecompleteUrl\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e# \u003cspan class=\"token class-name\"\u003eOutput\u003c/span\u003e\n\u003cspan class=\"token class-name\"\u003eT\u003c/span\u003eööls \u003cspan class=\"token class-name\"\u003eC\u003c/span\u003eönverters \u003cspan class=\"token class-name\"\u003eURLDecoder\u003c/span\u003e\u003cspan class=\"token annotation punctuation\"\u003e@Java\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eYou can also click this URL encoded link and see the results yourself \u003ca href=\"https://www.google.com/search?q=T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Java\" title=\"Tööls Cönverters xyz URLEncoder@Java\"\u003eTööls Cönverters xyz URLEncoder@Java\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eRelated Decoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-javascript\" title=\"URL decoding with Javascript\"\u003eURL decoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-python\" title=\"URL decoding with Python\"\u003eURL decoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-ruby\" title=\"URL decoding with Ruby\"\u003eURL decoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-java\" title=\"URL decoding with Java\"\u003eURL decoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-golang\" title=\"URL decoding with Golang\"\u003eURL decoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-decoding-with-javascript","meta":{"title":"Demystifying URL Decoding with JavaScript - An In-Depth Look","description":"URL decoding in javascript is probably the easiest. You can encode URL components like a string or part of a string.","imageUrl":"/blog/url/url-decoding-with-javascript.png","titleSlug":"url-decoding-with-javascript","keywords":"url decoding, url decoding javascript, url decoding js, url decoding nodejs, urldecoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eURL decoding in javascript is probably the easiest of the lot and hence we are covering it the first. You can encode URI components like a string or part of a string or a URL using the \u003ca href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent\" title=\"Javascript decodeURIComponent\"\u003edecodeURIComponent()\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eHere is a quick example, of how to encode a URL or string using javascript\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e value \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'Tööls Cönverters xyz URLEncoder@Javascript'\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e encodedValue \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeURIComponent\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token console class-name\"\u003econsole\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token method function property-access\"\u003elog\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eencodedValue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token comment\"\u003e// T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Javascript\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eNow, let us decode the above coded string\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e value \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e\n \u003cspan class=\"token string\"\u003e'T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Javascript'\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e decodedValue \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003edecodeURIComponent\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token console class-name\"\u003econsole\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token method function property-access\"\u003elog\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003edecodedValue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token comment\"\u003e// Tööls Cönverters xyz URLEncoder@Javascript\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Decoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-javascript\" title=\"URL decoding with Javascript\"\u003eURL decoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-python\" title=\"URL decoding with Python\"\u003eURL decoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-ruby\" title=\"URL decoding with Ruby\"\u003eURL decoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-java\" title=\"URL decoding with Java\"\u003eURL decoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-golang\" title=\"URL decoding with Golang\"\u003eURL decoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-decoding-with-python","meta":{"title":"URL Decoding in Python - A Practical Approach","description":"URL decoding in Python is probably the easiest. You can decode URL components like a string or part of a string.","imageUrl":"/blog/url/url-decoding-with-python.png","titleSlug":"url-decoding-with-python","keywords":"url decoding, url decoding python, url decoding js, url decoding nodejs, urlencoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003ePython as a language provides means to encode your strings. In Python 3+ you can URL encode any string using the \u003ca href=\"https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote\" title=\"How to encode a string or a URL in Python using the quote() function\"\u003equote()\u003c/a\u003e function included in the \u003ca href=\"https://docs.python.org/3/library/urllib.parse.html#url-quoting\" title=\"How to encode a string or a URL in Python using the quote() function in the urllib.parse\"\u003eurllib.parse\u003c/a\u003e package. The \u003ccode\u003equote()\u003c/code\u003e function by default encodes using \u003ccode\u003eUTF-8\u003c/code\u003e format.\u003c/p\u003e\n\u003ch4\u003eHow to encode a string or a URL in Python using the quote() function\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e \u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e urllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\n\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e query \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'Tööls Cönverters xyz URLEncoder@Python'\u003c/span\u003e\n\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e urllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003equote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Python'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eBy default the \u003ccode\u003equote()\u003c/code\u003e function will not parse/encode the \u003ccode\u003e/\u003c/code\u003e character. You need to escape the character. For example:\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003eurllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003equote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eThe \u003ccode\u003equote()\u003c/code\u003e function also accepts a named parameter called \u003ccode\u003esafe\u003c/code\u003e, the default value for which is \u003ccode\u003e/\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eIn order to encode \u003ccode\u003e/\u003c/code\u003e you can pass the safe argument as an empty string.\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003eurllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003equote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e safe\u003cspan class=\"token operator\"\u003e=\u003c/span\u003e\u003cspan class=\"token string\"\u003e''\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eIn Python 3+ you can URL decode any string using the \u003ca href=\"https://docs.python.org/3/library/urllib.parse.html#urllib.parse.unquote\" title=\"How to decode a string or a URL in Python using the unquote() function\"\u003eunquote()\u003c/a\u003e function included in the \u003ca href=\"https://docs.python.org/3/library/urllib.parse.html#url-dequoting\" title=\"How to decode a string or a URL in Python using the unquote() function in the urllib.parse\"\u003eurllib.parse\u003c/a\u003e package. The \u003ccode\u003eunquote()\u003c/code\u003e function by default decodes using \u003ccode\u003eUTF-8\u003c/code\u003e format.\u003c/p\u003e\n\u003ch4\u003eHow to decode a string or a URL in Python using the unquote() function\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e \u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e urllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\n\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e query \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLDecoder%40Python'\u003c/span\u003e\n\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e urllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eunquote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'Tööls Cönverters xyz URLDecoder@Python'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Decoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-javascript\" title=\"URL decoding with Javascript\"\u003eURL decoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-python\" title=\"URL decoding with Python\"\u003eURL decoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-ruby\" title=\"URL decoding with Ruby\"\u003eURL decoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-java\" title=\"URL decoding with Java\"\u003eURL decoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-golang\" title=\"URL decoding with Golang\"\u003eURL decoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-decoding-with-ruby","meta":{"title":"URL Decoding with Ruby - A Detailed Explanation","description":"URL decoding in Ruby is probably the easiest. You can decode URL components like a string or part of a string.","imageUrl":"/blog/url/url-decoding-with-ruby.png","titleSlug":"url-decoding-with-ruby","keywords":"url decoding, url decoding Ruby, url decoding js, url decoding nodejs, urlencoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eIn order to encode a string or a URL in Ruby, you can use the \u003ca href=\"https://ruby-doc.org/stdlib-3.0.0/libdoc/cgi/rdoc/CGI/Util.html#method-i-escape\" title=\"CGI::Escape\"\u003eCGI::Escape\u003c/a\u003e method. This method will escape or encode the string or URL in Ruby.\u003c/p\u003e\n\u003ch4\u003eHow to encode a string or a URL in RUBY\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-ruby\"\u003e\u003ccode class=\"language-ruby\"\u003e\u003cspan class=\"token keyword\"\u003erequire\u003c/span\u003e \u003cspan class=\"token string-literal\"\u003e\u003cspan class=\"token string\"\u003e'cgi'\u003c/span\u003e\u003c/span\u003e\n\nurl_encoded_string \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token constant\"\u003eCGI\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eescape\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string-literal\"\u003e\u003cspan class=\"token string\"\u003e\"Enc@de my Str!ng in @Ruby\"\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\nputs url_encoded_string\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-ruby\"\u003e\u003ccode class=\"language-ruby\"\u003e\u003cspan class=\"token comment\"\u003e# Output\u003c/span\u003e\nEnc\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e40\u003c/span\u003ede\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003emy\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003eStr\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e21\u003c/span\u003eng\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003ein\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e40\u003c/span\u003eRuby\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eSimilarly, if we want to decode a string or URL in Ruby, we can make sue of the \u003ca href=\"https://ruby-doc.org/stdlib-3.0.0/libdoc/cgi/rdoc/CGI/Util.html#method-i-unescape\" title=\"CGI::Unescape\"\u003eCGI::Unescape\u003c/a\u003e method. This method will unescape or decode the string or URL in Ruby.\u003c/p\u003e\n\u003ch4\u003eHow to decode a string or a URL in RUBY\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-ruby\"\u003e\u003ccode class=\"language-ruby\"\u003e\u003cspan class=\"token keyword\"\u003erequire\u003c/span\u003e \u003cspan class=\"token string-literal\"\u003e\u003cspan class=\"token string\"\u003e'cgi'\u003c/span\u003e\u003c/span\u003e\n\nurl_decoded_string \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token constant\"\u003eCGI\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eunescape\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string-literal\"\u003e\u003cspan class=\"token string\"\u003e\"Dec%40de%20my%20Str%21ng%20in%20%4
80Ruby\"\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\nputs url_encoded_string\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-ruby\"\u003e\u003ccode class=\"language-ruby\"\u003e\u003cspan class=\"token comment\"\u003e# Output\u003c/span\u003e\nDec\u003cspan class=\"token variable\"\u003e@de\u003c/span\u003e my Str\u003cspan class=\"token operator\"\u003e!\u003c/span\u003eng \u003cspan class=\"token keyword\"\u003ein\u003c/span\u003e \u003cspan class=\"token variable\"\u003e@Ruby\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Decoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-javascript\" title=\"URL decoding with Javascript\"\u003eURL decoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-python\" title=\"URL decoding with Python\"\u003eURL decoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-ruby\" title=\"URL decoding with Ruby\"\u003eURL decoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-java\" title=\"URL decoding with Java\"\u003eURL decoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-decoding-with-golang\" title=\"URL decoding with Golang\"\u003eURL decoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-encoder-faq","meta":{"title":"URL Encoder Explained - Frequently Asked Questions Answered","description":"URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.","keywords":"what is a url, what does url mean, what is a url link, what is url address, what is the meaning of url, what is url example, what is url in computer, what is a permalink, what is bitly, what is tinyurl, what is a url and where is it located, what does io mean in url, what is url stand for, what is a website url, what do you mean by url, what is uniform resource locator, what is bitly used for, what is meant by url, what does a url look like, what is tiny url","imageUrl":"/blog/url/url-encoder-faq.png","titleSlug":"url-encoding-faq","category":["url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003ch2\u003eWhat does URL stands for?\u003c/h2\u003e\n\u003cp\u003eURL stands for Uniform Resource Locator\u003c/p\u003e\n\u003ch2\u003eWhat is a URL?\u003c/h2\u003e\n\u003cp\u003eURL (Uniform Resource Locator) is a unique identifer that is used by the browsers to locate a resource on the internet. Everything we access on the internet has an address. Hence, we always put a URL in the \u003ccode\u003eaddress bar\u003c/code\u003e of the browser.\u003c/p\u003e\n\u003ch2\u003eWhat does the hash (#) or pound (#) sign mean in a URL?\u003c/h2\u003e\n\u003cp\u003eA hash or pound or # sign in a url signifies a named content on the page.\u003c/p\u003e\n\u003cp\u003eFor example, consider a link \u003ccode\u003ehttps://toolsconverters.xyz/url-encoder#url-encoder\u003c/code\u003e here the portion of the url \u003ccode\u003ehttps://toolsconverters.xyz/url-encoder\u003c/code\u003e is the address locator of the page. So when you just enter \u003ccode\u003ehttps://toolsconverters.xyz/url-encoder\u003c/code\u003e you will land to a resource. However, when you want to locate a particular element on the page, you can directly put the name of the resource at the end of the URL. In our example, it is \u003ccode\u003e#url-encoder\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003eWhat is the %20 symbol in a URL?\u003c/h2\u003e\n\u003cp\u003e\u003cem\u003espace\u003c/em\u003e - A url encoded string in some cases will have a \u003ccode\u003e%20\u003c/code\u003e. URLs cannot consist of a space and hence it has to be encoded into its Hexadecimal equivalent. Space is assigned the number 32, which translates to \u003ccode\u003e20\u003c/code\u003e in hexadecimal.\u003c/p\u003e\n\u003cp\u003eHere is an example:\nRegular URL -\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-unknown\"\u003e\u003ccode class=\"language-unknown\"\u003ehttps://toolsconverters.xyz/url encoder free online\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eEncoded URL -\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-unknown\"\u003e\u003ccode class=\"language-unknown\"\u003ehttps://toolsconverters.xyz/url%20encoder%20free%20online\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003ch2\u003eWhat is the %23 symbol in a URL?\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003ehash or pound or #\u003c/strong\u003e - A url encoded string in some cases will have a \u003ccode\u003e%23\u003c/code\u003e. URLs cannot consist of special characters like \u003ccode\u003e#\u003c/code\u003e and hence it has to be encoded into its Hexadecimal equivalent. \u003ccode\u003e%23\u003c/code\u003e is the hexadecimal value for \u003ccode\u003e#\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003eWhat is the %40 symbol in a URL?\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003e@\u003c/strong\u003e - A url encoded string in some cases will have a \u003ccode\u003e%40\u003c/code\u003e. URLs cannot consist of special characters like \u003ccode\u003e@\u003c/code\u003e and hence it has to be encoded into its Hexadecimal equivalent. \u003ccode\u003e%40\u003c/code\u003e is the hexadecimal value for \u003ccode\u003e@\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003eWhat does a URL consist of?\u003c/h2\u003e\n\u003cp\u003eA URL (Uniform Resource locator) consists of 3 parts. The protocol (HTTP or HTTPS), the domain (toolsconverters.xyz) that identifies the website and lastly the specific path to the webpage (url-encoder)\u003c/p\u003e\n"},{"slug":"url/url-encoding-with-golang","meta":{"title":"URL Encoding with Golang - A Developers Guide","description":"URL encoding in Golang is probably the easiest. You can encode URL components like a string or part of a string.","imageUrl":"/blog/url/url-encoding-with-golang.png","titleSlug":"url-encoding-with-golang","keywords":"url encoding, url encoding Golang, url encoding js, url encoding nodejs, urlencoded no
8dejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eGolang as a language provides means to encode your strings. Go's \u003ca href=\"https://golang.org/pkg/net/url/\" title=\"How to encode a string or a URL in Golang using the QueryEscape function in the net/url\"\u003enet/url\u003c/a\u003e package provides a method called as \u003ca href=\"https://golang.org/pkg/net/url/#QueryEscape\" title=\"How to encode a string or a URL in Golang using the QueryEscape\"\u003eQueryEscape\u003c/a\u003e to encode a string or a URL.\u003c/p\u003e\n\u003ch4\u003eHow to encode a string or a URL in Golang using the QueryEscape\u003c/h4\u003e\n\u003cp\u003eHere is an example of how you can encode a string in Golang using the QueryEscape\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-go\"\u003e\u003ccode class=\"language-go\"\u003e\u003cspan class=\"token keyword\"\u003epackage\u003c/span\u003e main\n\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\n\t\u003cspan class=\"token string\"\u003e\"fmt\"\u003c/span\u003e\n\t\u003cspan class=\"token string\"\u003e\"net/url\"\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\n\u003cspan class=\"token keyword\"\u003efunc\u003c/span\u003e \u003cspan class=\"token function\"\u003emain\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\tquery \u003cspan class=\"token operator\"\u003e:=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"Tööls Cönverters xyz URLEncoder@Go\"\u003c/span\u003e\n\tfmt\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003ePrintln\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eurl\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eQueryEscape\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-go\"\u003e\u003ccode class=\"language-go\"\u003e#Output\nT\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6ls\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e20C\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6nverters\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e20xyz\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e20URLEncoder\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e40Go\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-unknown\"\u003e\u003ccode class=\"language-unknown\"\u003eundefined\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n"},{"slug":"url/url-encoding-with-java","meta":{"title":"A Deep Dive into URL Encoding with Java","description":"URL encoding in Java is probably the easiest. You can encode URL components like a string or part of a string.","imageUrl":"/blog/url/url-encoding-with-java.png","titleSlug":"url-encoding-with-java","keywords":"url encoding, url encoding Java, url encoding js, url encoding nodejs, urlencoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eIn order to encode a string or a URL in Java, you can use the \u003ca href=\"https://docs.oracle.com/javase/8/docs/api/java/net/URLEncoder.html\" title=\"JavaURLEncoder\"\u003eJavaURLEncoder\u003c/a\u003e method.\u003c/p\u003e\n\u003cp\u003eJava provides a \u003ccode\u003eURLEncoder\u003c/code\u003e class for encoding any string or URL. By default, the \u003ccode\u003eURLEncoder\u003c/code\u003e class in Java uses the \u003ccode\u003eUTF-8\u003c/code\u003e format.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eAn important note: When you are encoding any URL in JAVA, do not encode the entire URL rather just encode the query string.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003ch4\u003eHow to encode a string or a URL in Java using the URLEncoder class\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003enet\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eURLEncoder\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003enio\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003echarset\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e \u003cspan class=\"token import\"\u003e\u003cspan class=\"token namespace\"\u003ejava\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eio\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eUnsupportedEncodingException\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\n\u003cspan class=\"token keyword\"\u003eclass\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eURLEncodingExample\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n\n \u003cspan class=\"token comment\"\u003e// Method to encode a string value using `UTF-8` encoding scheme\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"token keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeValue\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e value\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003etry\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003ereturn\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eURLEncoder\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eencode\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eUTF_8\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003etoString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e \u003cspan class=\"token keyword\"\u003ecatch\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eUnsupportedEncodingException\u003c/span\u003e ex\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token keyword\"\u003ethrow\u003c/span\u003e \u003cspan class=\"token keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eRuntimeException\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eex\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003egetCause\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\n \u003cspan class=\"token keyword\"\u003epublic\u003c/span\u003e \u003cspan class=\"token keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"token keyword\"\u003evoid\u003c/span\u003e \u003cspan class=\"token function\"\u003emain\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e[\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e]\u003c/span\u003e args\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e \u003cspan class=\"token punctuation\"\u003e{\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e baseUrl \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"https://www.google.com/search?q=\"\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e query \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e\"Tööls Cönverters URLEncoder@Java\"\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e encodedQuery \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeValue\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e \u003cspan class=\"token comment\"\u003e// Encoding a query string\u003c/span\u003e\n\n \u003cspan class=\"token class-name\"\u003eString\u003c/span\u003e completeUrl \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e baseUrl \u003cspan class=\"token operator\"\u003e+\u003c/span\u003e encodedQuery\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token class-name\"\u003eSystem\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eout\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eprintln\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003ecompleteUrl\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e;\u003c/span\u003e\n \u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003cspan class=\"token punctuation\"\u003e}\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e# \u003cspan class=\"token class-name\"\u003eOutput\u003c/span\u003e\nhttps\u003cspan class=\"token operator\"\u003e:\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003ewww\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003egoogle\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003ecom\u003cspan class=\"token operator\"\u003e/\u003c/span\u003esearch\u003cspan class=\"token operator\"\u003e?\u003c/span\u003eq\u003cspan class=\"token operator\"\u003e=\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eT\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eB6\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eB6ls\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003eC\u003cspan class=\"token operator\"\u003e%\u003c/span\u003eC3\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token class-name\"\u003eB6nverters\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003exyz\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003eURLEncoder\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e40\u003c/span\u003eJava\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eYou can also click this URL encoded link and see the results yourself \u003ca href=\"https://www.google.com/search?q=T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Java\" title=\"Tööls Cönverters xyz URLEncoder@Java\"\u003eTööls Cönverters xyz URLEncoder@Java\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eAnother interesting to note about the \u003ccode\u003eURLEncoder\u003c/code\u003e class in Java is that it encodes the \u
8003ccode\u003espace\u003c/code\u003e character as a \u003ccode\u003e+\u003c/code\u003e v/s other languages that encode the \u003ccode\u003espace\u003c/code\u003e character into \u003ccode\u003e%20\u003c/code\u003e. You can check out this \u003ca href=\"https://stackoverflow.com/questions/2678551/when-to-encode-space-to-plus-or-20\" title=\"StackOverflow discussion on why Java converts space as plus sign\"\u003eStackOverflow discussion\u003c/a\u003e to understand the reasoning for character encoding of space as \u003ccode\u003e+\u003c/code\u003e v/s \u003ccode\u003e%20\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eIf you note the code we wrote above\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-java\"\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"token class-name\"\u003eURLEncoder\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003eencode\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e \u003cspan class=\"token class-name\"\u003eStandardCharsets\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eUTF_8\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token function\"\u003etoString\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eWe are passing the format in which we want the encoding to happen. Here we are exclusively using \u003ccode\u003eUTF-8\u003c/code\u003e format. You can choose to add another format that the function supports.\u003c/p\u003e\n\u003cp\u003eAn important thing to note is that if you are URL Encoding in JAVA, and you pass in a format that is not supported or you try to create your own word as the 2nd argument to \u003ccode\u003eencode\u003c/code\u003e. You will receive an \u003ccode\u003eUnsupportedEncodingException\u003c/code\u003e from the compiler.\u003c/p\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-encoding-with-javascript","meta":{"title":"JavaScript and URL Encoding - A Comprehensive Guide","description":"URL encoding in javascript is probably the easiest. You can encode URL components like a string or part of a string.","imageUrl":"/blog/url/url-encoding-with-javascript.png","titleSlug":"url-encoding-with-javascript","keywords":"url encoding, url encoding javascript, url encoding js, url encoding nodejs, urlencoded no
8dejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eURL encoding in javascript is probably the easiest of the lot and hence we are covering it the first. You can encode URI components like a string or part of a string or a URL using the \u003ca href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent\" title=\"Javascript encodeURIComponent\"\u003eencodeURIComponent()\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eHere is a quick example, of how to encode a URL or string using javascript\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e value \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'Tööls Cönverters xyz URLEncoder@Javascript'\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e encodedValue \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeURIComponent\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token console class-name\"\u003econsole\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token method function property-access\"\u003elog\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eencodedValue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token comment\"\u003e// T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Javascript\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eIf you wish to encode the query string of a URL and the entire URL, you can simply pass the query string to the function and then append the result to form your complete URL. Let's look at an example:\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e baseUrl \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'https://www.google.com/search?q='\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e value \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'Tööls Cönverters xyz URLEncoder@Javascript'\u003c/span\u003e\n\u003cspan class=\"token keyword\"\u003econst\u003c/span\u003e encodedValue \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token function\"\u003eencodeURIComponent\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003evalue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003cspan class=\"token console class-name\"\u003econsole\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token method function property-access\"\u003elog\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003eencodedValue\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token comment\"\u003e// https://www.google.com/search?q=T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Javascript\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eYou can try to see the output of this by clicking the url or pasting it in a new tab \u003ca href=\"https://www.google.com/search?q=T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Java\" title=\"Tööls Cönverters xyz URLEncoder@Java\"\u003eTööls Cönverters xyz URLEncoder@Java\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-encoding-with-python","meta":{"title":"URL Encoding in Python - A Detailed Tutorial","description":"URL encoding in Python is probably the easiest. You can encode URL components like a string or part of a string.","imageUrl":"/blog/url/url-encoding-with-python.png","titleSlug":"url-encoding-with-python","keywords":"url encoding, url encoding python, url encoding js, url encoding nodejs, urlencoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003ePython as a language provides means to encode your strings. In Python 3+ you can URL encode any string using the \u003ca href=\"https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote\" title=\"How to encode a string or a URL in Python using the quote() function\"\u003equote()\u003c/a\u003e function included in the \u003ca href=\"https://docs.python.org/3/library/urllib.parse.html#url-quoting\" title=\"How to encode a string or a URL in Python using the quote() function in the urllib.parse\"\u003eurllib.parse\u003c/a\u003e package. The \u003ccode\u003equote()\u003c/code\u003e function by default encodes using \u003ccode\u003eUTF-8\u003c/code\u003e format.\u003c/p\u003e\n\u003ch4\u003eHow to encode a string or a URL in Python using the quote() function\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e \u003cspan class=\"token keyword\"\u003eimport\u003c/span\u003e urllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\n\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e query \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token string\"\u003e'Tööls Cönverters xyz URLEncoder@Python'\u003c/span\u003e\n\u003cspan class=\"token operator\"\u003e\u003e\u003e\u003c/span\u003e\u003cspan class=\"token operator\"\u003e\u003e\u003c/span\u003e urllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003equote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003equery\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'T%C3%B6%C3%B6ls%20C%C3%B6nverters%20xyz%20URLEncoder%40Python'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eBy default the \u003ccode\u003equote()\u003c/code\u003e function will not parse/encode the \u003ccode\u003e/\u003c/code\u003e character. You need to escape the character. For example:\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003eurllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003equote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eThe \u003ccode\u003equote()\u003c/code\u003e function also accepts a named parameter called \u003ccode\u003esafe\u003c/code\u003e, the default value for which is \u003ccode\u003e/\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eIn order to encode \u003ccode\u003e/\u003c/code\u003e you can pass the safe argument as an empty string.\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003eurllib\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eparse\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003equote\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e,\u003c/span\u003e safe\u003cspan class=\"token operator\"\u003e=\u003c/span\u003e\u003cspan class=\"token string\"\u003e''\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-py\"\u003e\u003ccode class=\"language-py\"\u003e\u003cspan class=\"token string\"\u003e'/'\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/url-encoding-with-ruby","meta":{"title":"Mastering URL Encoding with Ruby - A Complete Guide","description":"URL encoding in Ruby is probably the easiest. You can encode URL components like a string or part of a string.","imageUrl":"/blog/url/url-encoding-with-ruby.png","titleSlug":"url-encoding-with-ruby","keywords":"url encoding, url encoding Ruby, url encoding js, url encoding nodejs, urlencoded nodejs","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eIn order to encode a string or a URL in Ruby, you can use the \u003ca href=\"https://ruby-doc.org/stdlib-3.0.0/libdoc/cgi/rdoc/CGI/Util.html#method-i-escape\" title=\"CGI::Escape\"\u003eCGI::Escape\u003c/a\u003e method. This method will escape or encode the string or URL in Ruby.\u003c/p\u003e\n\u003ch4\u003eHow to encode a string or a URL in RUBY\u003c/h4\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-ruby\"\u003e\u003ccode class=\"language-ruby\"\u003e\u003cspan class=\"token keyword\"\u003erequire\u003c/span\u003e \u003cspan class=\"token string-literal\"\u003e\u003cspan class=\"token string\"\u003e'cgi'\u003c/span\u003e\u003c/span\u003e\n\nurl_encoded_string \u003cspan class=\"token operator\"\u003e=\u003c/span\u003e \u003cspan class=\"token constant\"\u003eCGI\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003eescape\u003cspan class=\"token punctuation\"\u003e(\u003c/span\u003e\u003cspan class=\"token string-literal\"\u003e\u003cspan class=\"token string\"\u003e\"Enc@de my Str!ng in @Ruby\"\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"token punctuation\"\u003e)\u003c/span\u003e\n\nputs url_encoded_string\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003e\u003cstrong\u003eOutput:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-ruby\"\u003e\u003ccode class=\"language-ruby\"\u003e\u003cspan class=\"token comment\"\u003e# Output\u003c/span\u003e\nEnc\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e40\u003c/span\u003ede\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003emy\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003eStr\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e21\u003c/span\u003eng\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003ein\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e20\u003c/span\u003e\u003cspan class=\"token operator\"\u003e%\u003c/span\u003e\u003cspan class=\"token number\"\u003e40\u003c/span\u003eRuby\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eRelated Encoding techniques:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-javascript\" title=\"URL encoding with Javascript\"\u003eURL encoding with Javascript\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-python\" title=\"URL encoding with Python\"\u003eURL encoding with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-ruby\" title=\"URL encoding with Ruby\"\u003eURL encoding with Ruby\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-java\" title=\"URL encoding with Java\"\u003eURL encoding with Java\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/blog/url/url-encoding-with-golang\" title=\"URL encoding with Golang\"\u003eURL encoding with Golang\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/what-is-a-slug-in-URL","meta":{"title":"Understanding URL Slugs - What They Are and Their Importance","description":"URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.","keywords":"what is a slug in url, what does url mean, what is a slug in url link, what is url address, what is the meaning of url, what is url example, what is url in computer, what is a slug in permalink, what is bitly, what is tinyurl, what is a slug in url and where is it located, what does io mean in url, what is url stand for, what is a slug in website url, what do you mean by url, what is uniform resource locator, what is bitly used for, what is meant by url, what does a url look like, what is tiny url","imageUrl":"/blog/url/what-is-a-slug-in-url.png","titleSlug":"what-is-a-slug-in-url","category":["url-slug","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eURL stands for \u003cstrong\u003eUniform Resource Locator\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eWhen we access anything on our web browser over the internet, we use an address or URL (Uniform Resource Locator).\u003c/p\u003e\n\u003cp\u003eA URL is a unique address (an identifier) that can help you locate a resource on the internet. You can read more about \u003ca href=\"/blog/url/what-is-a-url\" title=\"What is a URL?\"\u003ea URL\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eSlug\u003c/strong\u003e is the URL portion that will help identify a website's exact page (resource) in a human-readable format. The slug is equally important to search engines as well as humans. Slug gives information on what the web page's content will bring for the user. People use a \u003cstrong\u003eslug\u003c/strong\u003e in their URL to provide their reader the context of the resource available at the URL v/s using an identifier like product Id.\u003c/p\u003e\n\u003cp\u003eEvery page on your website or application needs to have a unique slug.\u003c/p\u003e\n\u003cp\u003eFor example, if you check the address bar in your browser, it should show you the URL, something like this\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-unknown\"\u003e\u003ccode class=\"language-unknown\"\u003ehttps://toolsconverters.xyz/blog/url/what-is-a-slug-in-url\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eIf you see it carefully, \u003ca href=\"/blog/url/what-is-a-url\" title=\"What does a URL consist of?\"\u003ea URL consists of various parts.\u003c/a\u003e In the above example, \u003ccode\u003eblog/url/what-is-a-slug-in-url\u003c/code\u003e is the slug.\nWe can further break down the slug into two parts.\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eCategory or logical grouping of the resource/page. In our case, it is \u003ccode\u003e/blog\u003c/code\u003e followed by the category \u003ccode\u003e/url\u003c/code\u003e for our domain \u003ccode\u003etoolsconverters.xyz\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe \u003cem\u003eslug\u003c/em\u003e for the page. In our example, it is \u003ccode\u003ewhat-is-a-slug-in-url\u003c/code\u003e. This string will uniquely identify this particular page on the internet.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eOne of the reasons slug is such an essential aspect of a URL is that when you share the URL with someone, all they see is the domain and the slug. Suppose we make our slug human-readable and user-friendly. The link will get more confident clicks. A person who sees the URL can feel more aware in clicking the link v/s a link such as \u003ccode\u003ehttps://spammyDomain.com/asd23easd\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eWhen you work on your websites, create a slug that gives the user enough information on where the URL will lead them.\u003c/p\u003e\n\u003cp\u003eIf it is a news article, it should summarize what that article is about (in a few words). If the URL is going to be a KETO recipe, it should make it clear that on clicking the URL, the user will be able to see a KETO recipe.\u003c/p\u003e\n\u003cp\u003eIn most cases, when we create the page, we always give it a title. If you make your title the slug, it usually works out. For example, our current webpage. The title is \u003ccode\u003eWhat is a Slug in URL?\u003c/code\u003e and our slug becomes \u003ccode\u003ewhat-is-a-slug-in-URL\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eOccasionally you do not want to include words like \u003ccode\u003eis\u003c/code\u003e, \u003ccode\u003ea\u003c/code\u003e, \u003ccode\u003ein\u003c/code\u003e, \u003ccode\u003eto\u003c/code\u003e, \u003ccode\u003etoo\u003c/code\u003e, etc. These words help you formulate your sentence but don't give much information about the webpage. A slug without the fillers or stop words is also very acceptable.\u003c/p\u003e\n\u003cp\u003eThere is a possibility of including special characters in a title, but we usually remove any special characters from the url slug. If we do not remove it, we may
8need to \u003ca href=\"/blog/url/what-is-url-encoding\" title=\"What is URL Encoding?\"\u003eencode our URL.\u003c/a\u003e You can also use \u003ca href=\"/url-encoder\" title=\"Free Online URL encoder\"\u003ean encoder\u003c/a\u003e to encode your URL.\u003c/p\u003e\n\u003cp\u003eAs a good practice, we usually do not include numbers in a slug. It makes them less readable. However, when you have an article titled \u003ccode\u003e13 Best practices for...\u003c/code\u003e having the number \u003ccode\u003e13\u003c/code\u003e will tell the user how many best practices you will get when you click that link. So, creating a slug is contextual. Again, this is just a thought, and there are better practices that we have learned on \u003ca href=\"/blog/url/write-good-url-slug\" title=\"How to write a slug for better SEO?\"\u003ehow you can write a slug for better SEO.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eThe most important reason for having a good slug is that slug adds value and context to humans and automated bots or search engine crawlers. These crawlers will try to get the most out of the URL and understand what that resource contains. This context will help the crawlers to queue up your page on the internet higher when the intent of a user search matches the content of your resource.\u003c/p\u003e\n\u003ch2\u003eFrequently asked questions about the URL slug.\u003c/h2\u003e\n\u003cdiv class=\"p-8 bg-white rounded-lg\"\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"#how-to-write-a-good-url-slug\" title=\"How to write a URL slug?\"\u003eHow to write a URL slug?\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#what-is-an-example-slug\" title=\"What is an example of a slug?\"\u003eWhat is an example of a slug?\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#why-are-slugs-important\" title=\"Why are slugs important?\"\u003eWhy are slugs important?\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#are-slugs-good-for-seo\" title=\"Why are slugs important?\"\u003eAre slugs good for SEO?\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/div\u003e\n\u003ch3\u003e\u003ca name=\"how-to-write-a-good-url-slug\"\u003e How to write a URL slug? \u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eTo write a creative slug that leaves an impression for your URL to stand out. We have covered the best practices for writing a URL slug. Your URL slug should follow the below rules.\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#keep-slug-short\" title=\"Keep your slug short\"\u003eKeep your slug short\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#no-spaces-in-url-slug\" title=\"A URL slug cannot have spaces\"\u003eA URL slug cannot have spaces\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#no-underscores-in-url-slug\" title=\"Avoid using underscores in your URLs\"\u003eAvoid using underscores in your URLs\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#lowercase-in-url-slug\" title=\"Slug in a URL should always be lowercase\"\u003eSlug in a URL should always be lowercase\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#readable-slug-in-url\" title=\"Make your slug readable\"\u003eMake your slug readable\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#dates-numbers-slug-in-url\" title=\"Do not include Dates \u0026#x26; Numbers in a slug\"\u003eDo not include Dates \u0026#x26; Numbers in a slug\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#keywords-slug-in-url\" title=\"Include Keywords\"\u003eInclude Keywords\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/write-good-url-slug#stop-words-in-slug\" title=\"Avoid using stop words\"\u003eAvoid using stop words\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch3\u003e\u003ca name=\"what-is-an-example-slug\"\u003eWhat is an example of a slug?\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eA slug is the unique case-sensitive portion of a URL (Unified Resource Locator). A slug identifies the unique resource on the webpage (your domain). For example, if you have a page at \u003ccode\u003ewww.yourdomain.com/about\u003c/code\u003e for your About page. The \u003ccode\u003e/about\u003c/code\u003e part of the URL is your slug. If you have directories on your website, then the last portion of your URL is the slug, for example, \u003ccode\u003etoolsconverters.xyz/blog/url/what-is-a-slug-in-url\u003c/code\u003e the slug is \u003ccode\u003e/what-is-a-slug-in-url\u003c/code\u003e whereas \u003ccode\u003e/blog\u003c/code\u003e and \u003ccode\u003e/url\u003c/code\u003e are treated as directories.\u003c/p\u003e\n\u003ch3\u003e\u003ca name=\"why-are-slugs-important\"\u003eWhy are slugs important?\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eSlugs are essential for multiple reasons:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eThey tell anyone viewing the link what to expect from the resource when they click the link.\u003c/li\u003e\n\u003cli\u003eSlug of the page also tells search engines about the content that is available at the link\u003c/li\u003e\n\u003cli\u003eAs search engine bots scan the slug of a page, they capture the keywords of the content available on the page without actually going to the page. hese page-level keywords help the bots present the page quickly when someone asks for the keyword in their search paramters.\u003c/li\u003e\n\u003cli\u003eBecause of the above three reasons, a slug is more critical for improving your page SEO and giving your page a chance to be displayed in the search engine result pages.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003e\u003ca name=\"are-slugs-good-for-seo\"\u003eAre slugs good for SEO?\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eSEO stands for Search Engine Optimization. Web developers usually use this term to improve their page content so that humans and search engine bots can easily find their page contents. If the bots can analyze your content and place it higher in rank compared to similar content, your web page will rank higher in SERP (Search Engine Results Page). So, slugs are good for SEO and one area where you can easily make sure to add the keywords for which you want to rank in the search results.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eCreating your slug in lines with your page title works best. Having your keywords in your page title and URL slug will allow the content and page-level keywords to be in sync. There are many approaches in which you can create your slug. It can become a challenge to be consistent. We have created a simple slug generator for you to create your slug with confidence and consistency.\n\u003ca href=\"/url-slug-generator\" title=\"Url Slug Generator\"\u003eUrl Slug Generator\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/what-is-a-url","meta":{"title":"Understanding URLs - What They Are and Why They Matter","description":"URL stands for Uniform Resource Locator. A URL can uniquely identify a resource on the web. A URL can be found on your browsers address bar or omnibox. A permalink, also known as a permanent link can be set for your website. There are many url shortening tools that you can learn about.","keywords":"what is a url, what does url mean, what is a url link, what is url address, what is the meaning of url, what is url example, what is url in computer, what is a permalink, what is bitly, what is tinyurl, what is a url and where is it located, what does io mean in url, what is url stand for, what is a website url, what do you mean by url, what is uniform resource locator, what is bitly used for, what is meant b
8y url, what does a url look like, what is tiny url","imageUrl":"/blog/url/what-is-a-url.png","titleSlug":"what-is-a-url","category":["url","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eURL stands for \u003cstrong\u003eUniform Resource Locator\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eWhen we access anything on our web browser over the internet, we use an address or URL (Uniform Resource Locator).\u003c/p\u003e\n\u003cp\u003eA URL is a unique address (an identifier) that can help you locate a resource on the internet.\u003c/p\u003e\n\u003cp\u003eWhen we type the URL in the web browser's address bar, we ask the web browser to take us to that location over the internet. The URL we use will exactly transition the name of the website and the relevant path to the resource or the web page that you are trying to access for that website. It is up to the website to serve the right content located at that address.\u003c/p\u003e\n\u003cp\u003eA URL usually contains five different parts. You can read about the different parts that constitute a URL.\u003c/p\u003e\n\u003cp\u003eA URL is probably the only important thing that drives users to a website, a business, or a resource on the internet. With the number of URLs, websites, domains as well as users online today, there is solid competition to rank higher on the search engines.\u003c/p\u003e\n\u003cp\u003eIf you are trying to rank your website, domain, and particular pages higher on a search engine, you need to focus on creating a user-friendly, content-driven URL.\u003c/p\u003e\n\u003cp\u003eFor example, on this webpage, you are just viewing.\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-js\"\u003e\u003ccode class=\"language-js\"\u003e\u003cspan class=\"token literal-property property\"\u003ehttps\u003c/span\u003e\u003cspan class=\"token operator\"\u003e:\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003etoolsconverters\u003cspan class=\"token punctuation\"\u003e.\u003c/span\u003e\u003cspan class=\"token property-access\"\u003exyz\u003c/span\u003e\u003cspan class=\"token operator\"\u003e/\u003c/span\u003eblogs\u003cspan class=\"token operator\"\u003e/\u003c/span\u003eurl\u003cspan class=\"token operator\"\u003e-\u003c/span\u003eencoder\u003cspan class=\"token operator\"\u003e/\u003c/span\u003ewhat\u003cspan class=\"token operator\"\u003e-\u003c/span\u003eis\u003cspan class=\"token operator\"\u003e-\u003c/span\u003ea\u003cspan class=\"token operator\"\u003e-\u003c/span\u003eurl\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eThe above URL will translate and navigate you first to \u003ccode\u003etoolsconverters.xyz\u003c/code\u003e and then to its sub-path located at \u003ccode\u003eblogs/url-encoder/what-is-a-url\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eAs a good practice, you always write the URLs in lowercase. Although it is case insensitive, it is always good to have URLs that are clear and precise. This is one of the important aspects of making your URL search engine optimized.\u003c/p\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003ch2\u003eFrequently asked questions about URL\u003c/h2\u003e\n\u003cdiv class=\"p-8 bg-white rounded-lg\"\u003e\n\u003cp\u003e\u003ca href=\"#what-is-url-link\" title=\"What is a url link? or what is url address?\"\u003eWhat is a url link? or what is url address?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-is-url-in-computer\" title=\"What is url in computer?\"\u003eWhat is url in computer?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-is-a-permalink\" title=\"What is a permalink?\"\u003eWhat is a permalink?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-is-bitly-tinyUrl\" title=\"What is bitly or tinyUrl?\"\u003eWhat is bitly or tinyUrl?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#where-is-url-located\" title=\"What is a url, and Where is it located?\"\u003eWhat is a url, and Where is it located?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-does-io-mean-in-a-url\" title=\"What does io mean in url?\"\u003eWhat does io mean in url?\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003ch3\u003e\u003ca name=\"what-is-url-link\"\u003e What is a url link? or what is url address? \u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eURL stands for Unique Resource Locator. Just like in the real world, to identify a physical address, we need to know the street, city, zip, state, and country. A \u003ca href=\"/replaceLink\" title=\"URL consists of\"\u003eURL consists of different parts\u003c/a\u003e, and it is represented as a link. All of its parts are connected together to form one string or one address that can uniquely identify a resource on the internet.\u003c/p\u003e\n\u003ch3\u003e\u003ca name=\"what-is-url-in-computer\"\u003eWhat is url in computer? \u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eA URL means Unique Resource Locator. If you can locate a resource on the world wide web, you can surely locate addresses on your own computer. If you open an explorer (windows) or Finder (Mac), you will see the white area on the top that will tell you where you are on your computer. Precisely, your current folder. This is the current address you are on your computer. So, a URL in a computer is a path for the resource on your computer.\u003c/p\u003e\n\u003ch3\u003e\u003ca name=\"what-is-a-permalink\"\u003eWhat is a permalink? \u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eA permalink, i.e. a permanent link, is a link that is supposed to remain unique for your resource on your website. So, if you consider an \"About\" page, you usually want people on the internet to find you at \u003ccode\u003ewww.yourdomain.com/about\u003c/code\u003e. So, that becomes your URL, and
8you can make this URL a permanent link.\u003c/p\u003e\n\u003ch3\u003e\u003ca name=\"what-is-bitly-tinyUrl\"\u003eWhat is bitly or tinyUrl?\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eServices like \u003ca href=\"https://bitly.com\" title=\"Bitly url\"\u003eBitly.com\u003c/a\u003e or \u003ca href=\"https://bit.ly\" title=\"Tiny Url\"\u003etiny.url\u003c/a\u003e allow you to shrink your big URL address to a smaller, much more manageable address.\nFor example:\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-unknown\"\u003e\u003ccode class=\"language-unknown\"\u003ehttps://toolsconverters.xyz/blog/url/what-is-a-url\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eIt can be easily converted in a service like bit.ly as\u003c/p\u003e\n\u003cdiv class=\"remark-highlight\"\u003e\u003cpre class=\"language-unknown\"\u003e\u003ccode class=\"language-unknown\"\u003ehttps://bit.ly/what-is-a-url\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp\u003eSo now, even if you access \u003ca href=\"https://bit.ly/what-is-a-url\" title=\"Bitly what is a URL?\"\u003ehttps://bit.ly/what-is-a-url\u003c/a\u003e it will redirect you to the \u003ccode\u003ehttps://toolsconverters.xyz/blog/url/what-is-a-url\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eIn addition to the redirect, these services let you track the number of times your bitly/tinyurl/goo.gl link was clicked. So if you are running a campaign or want to track the links on social media, it is a very good use case for using such a service.\u003c/p\u003e\n\u003ch3\u003e\u003ca name=\"where-is-url-located\"\u003eWhat is a url, and Where is it located?\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eA URL is an address to a resource on the internet. \u003ca href=\"#what-is-a-url\" title=\"What is a URL?\"\u003eYou can read more about the URL.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eA URL is located at the top of the browser window in the address bar. On the computer, if you are using File Explorer (windows) or Finder (Mac), the URL is located at the top in the address bar, where you see the folder structure.\u003c/p\u003e\n\u003ch3\u003e\u003ca name=\"what-does-io-mean-in-a-url\"\u003eWhat does io mean in url?\u003c/a\u003e\u003c/h3\u003e\n\u003cp\u003eEvery URL on the internet consists of a domain name. There are different types of a domain that you can use for your website. Each domain type has a particular definition. Each domain type has an abbreviation. Here is a list of some commonly used domain types.\u003c/p\u003e\n\u003cp\u003e.io stands for Input/Output\n.com stands for Commercial\n.net stands for Network\n.edu stands for Education\n.org stands for Organization\n.gov stands for Government\u003c/p\u003e\n\u003cp\u003eYou can register your domain with any of the commonly used providers like\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://domains.google/\" title=\"Register a domain with Google Domains\"\u003eGoogle Domains\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.godaddy.com/\" title=\"Register a domain with GoDaddy\"\u003eGoDaddy\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.namecheap.com/\" title=\"Register a domain with GoDaddy\"\u003eNamecheap\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.cloudflare.com/\" title=\"Register a domain with GoDaddy\"\u003eCloudFlare\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eYou can also use these simple website builders for your domain\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://www.wix.com/\" title=\"Build a website for your domain with WIX\"\u003eWIX\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.weebly.com/\" title=\"Build a website for your domain with Weebly\"\u003eWeebly\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.wix.com/\" title=\"Build a website for your domain with Squarespace\"\u003eSquarespace\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/what-is-url-decoding","meta":{"title":"The Art of URL Decoding - A Comprehensive Guide","description":"URL decoding is the process of converting characters entered as part of the Encoded URL in regular English characters. URL decoding is also called percent-decoding.","keywords":"what is url decoding, what does url decoding do, what is url 20 decoding, how can i tell if a url is encoded, url decoding example, url decoding characters, What is a good URL Encoder, Why do we need URL Decoding","imageUrl":"/blog/url/what-is-url-decoding.png","titleSlug":"what-is-url-decoding","category":["url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cdiv class=\"p-8 bg-white rounded-lg\"\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/what-is-url-encoding\" title=\"What is URL Encoding?\"\u003eWhat is URL Encoding?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-is-url-decoding\" title=\"What is URL Decoding?\"\u003eWhat is URL Decoding?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-is-url-decoding\" title=\"Why do we need URL Decoding?\"\u003eWhy do we need URL Decoding?\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003ch2\u003e\u003ca name=\"what-is-url-encoding\"\u003eWhat is URL Encoding\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003eURL Encoding\u003c/strong\u003e is converting certain characters entered as part of the URL into a format that can be used to transmit over the internet.\n\u003cstrong\u003eURL Encoding\u003c/strong\u003e is achieved by converting or replacing one or more characters in the URL with their equivalent \u003ca href=\"#ascii-character-set\" title=\"ASCII character set\"\u003eASCII character set\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eYou can read more about \u003ca href=\"/blog/url/what-is-url-encoding\" title=\"URL Encoding\"\u003eURL Encoding\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"what-is-url-decoding\"\u003eWhat is URL Decoding\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eJust like \u003ca href=\"/blog/url/what-is-url-encoding\" title=\"URL Encoding\"\u003eURL Encoding\u003c/a\u003e, URL decoding is a process to convert the hexadecimal characters representing the reserved characters in a URL to the regular English characters. You can also consider \u003cstrong\u003eURL Decoding\u003c/strong\u003e as a reverse function of \u003cstrong\u003eURL encoding\u003c/strong\u003e. Just like we have a tool for \u003ca href=\"/url-encoder\" title=\"URL Encoding\"\u003eURL Encoding\u003c/a\u003e, we also have a tool for \u003ca href=\"/url-decoder\" title=\"URL Decoding online free\"\u003eURL Decoding\u003c/a\u003e\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"why-do-we-need-url-decoding\"\u003eWhy do we need URL Decoding\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003eURL Decoding\u003c/strong\u003e is needed, when you want to reverse the encoding process and get the original string.\u003c/p\u003e\n\u003cp\u003eRead more about the below topics:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/what-is-url-encoding#characters-allowed-in-a-url\" title=\"What characters are allowed in a URL?\"\u003eWhat characters are allowed in a URL?\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/what-is-url-encoding#url-encoder\" title=\"What is a good URL Encoder?\"\u003eWhat is a good URL Encoder?\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/what-is-url-encoding#why-do-we-need-url-encoding\" title=\"Why do we need URL Encoding?\"\u003eWhy do we need URL Encoding?\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/what-is-url-encoding#what-are-ascii-characters\" title=\"What are ASCII characters\"\u003eWhat are ASCII characters\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"/blog/url/what-is-url-encoding#ascii-character-set\" title=\"ASCII character set\"\u003eASCII character set\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/what-is-url-encoding","meta":{"title":"URL Encoding Demystified - A Detailed Overview","description":"URL encoding is the process of converting characters entered as part of the URL in a format that can be transmitted over the internet. URL encoding is also called percent-encoding. There are various characters that are allowed as part of an encoded URL and various characters that are not allowed.","keywords":"what is url encoding, what does url encoding do, what is url 20 encoding, how can i tell if a url is encoded, url encoding example, url encoding characters, What is a good URL Encoder, Why do we need URL Encoding","imageUrl":"/blog/url/what-is-url-encoding.png","titleSlug":"what-is-url-encoding","category":["url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cdiv class=\"p-8 bg-white rounded-lg\"\u003e\n\u003cp\u003e\u003ca href=\"#what-is-url-encoding\" title=\"What is URL Encoding?\"\u003eWhat is URL Encoding?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#characters-allowed-in-a-url\" title=\"What characters are allowed in a URL?\"\u003eWhat characters are allowed in a URL?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#url-encoder\" title=\"What is a good URL Encoder?\"\u003eWhat is a good URL Encoder?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#why-do-we-need-url-encoding\" title=\"Why do we need URL Encoding?\"\u003eWhy do we need URL Encoding?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#what-are-ascii-characters\" title=\"What are ASCII characters\"\u003eWhat are ASCII characters\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"#ascii-character-set\" title=\"ASCII character set\"\u003eASCII character set\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003ch2\u003e\u003ca name=\"what-is-url-encoding\"\u003eWhat is URL Encoding\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003eURL Encoding\u003c/strong\u003e is converting certain characters entered as part of the URL into a format that can be used to transmit over the internet.\n\u003cstrong\u003eURL Encoding\u003c/strong\u003e is achieved by converting or replacing one or more characters in the URL with their equivalent \u003ca href=\"#ascii-character-set\" title=\"ASCII character set\"\u003eASCII character set\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eURL Encoding\u003c/strong\u003e as a process will replace any unsafe ASCII characters with a \u003ccode\u003e%\u003c/code\u003e followed by 2 Hexadecimal digits \u003ccode\u003eHH\u003c/code\u003e. In addition, URLs cannot contain spaces, so part of the URL encoding \u003ccode\u003espace\u003c/code\u003e is usually replaced with a \u003ccode\u003e+\u003c/code\u003e or \u003ccode\u003e%20\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eFor Example:\nConsider the text \u003ccode\u003eFrançois\u003c/code\u003e it will be encoded to \u003ccode\u003eFran%C3%A7ois\u003c/code\u003e.\nHere the character \u003ccode\u003eç\u003c/code\u003e is encoded in UTF-8 format.\u003c/p\u003e\n\u003cp\u003eAnother Example: \u003ccode\u003eGünter\u003c/code\u003e it will be encoded to \u003ccode\u003eG%C3%BCnter\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eURL Encoding\u003c/strong\u003e is also called \u003cstrong\u003epercent-encoding\u003c/strong\u003e because all the special characters are converted to a \u003ccode\u003e%\u003c/code\u003e followed by a two-digit Hex code \u003ccode\u003eHH\u003c/code\u003e.\nThe other reason why it is called \u003cstrong\u003epercent-encoding\u003c/strong\u003e is that the Encoding may not only apply to URLs (\u003ca href=\"https://en.wikipedia.org/wiki/URL\" title=\"Unified Resource Locators\"\u003eUnified Resource Locators\u003c/a\u003e), but it can also be extended and applied to URIs (\u003ca href=\"https://en.wikipedia.org/wiki/Uniform_Resource_Identifier\" title=\"Unified Resource Identifiers\"\u003eUnified Resource Identifiers\u003c/a\u003e)\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eURL
8Encoding\u003c/strong\u003e is also used in preparing data that needs to be submitted in HTML forms with the content-type of \u003ccode\u003eapplication/x-www-form-urlencded\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"characters-allowed-in-a-url\"\u003eCharacters allowed in a URL\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eThere are various characters that are allowed and various characters that are disallowed to be a part of a URL. The characters that are allowed can either be \u003cem\u003ereserved\u003c/em\u003e or \u003cem\u003eunreserved\u003c/em\u003e characters. Reserved characters are the ones that have certain special significance. The unreserved characters have no such special significance and represent themselves as is.\u003c/p\u003e\n\u003cp\u003eAs per \u003ca href=\"http://www.gbiv.com/protocols/uri/rfc/rfc3986.html\" target=\"_blank\"\u003eRFC 3986\u003c/a\u003e, the characters in a URL should be formed of either a reserved or unreserved \u003ca href=\"#ascii-character-set\" title=\"ASCII character set\"\u003eASCII character set.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eThe unreserved character set includes letters \u003ccode\u003ea-z\u003c/code\u003e and uppercase letters \u003ccode\u003eA-Z\u003c/code\u003e along with numbers \u003ccode\u003e0-9\u003c/code\u003e. In addition, they also include \u003ccode\u003e- _ . ~\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eThe reserved character set includes the below and usually is encoded whenever found in a URL\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003e! * ' ( ) ; : @ \u0026#x26; = + $ , / ? % # [ ]\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"url-encoder\"\u003eURL Encoder\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eURL encoder or URI encoder is a simple online tool for encoding URLs or Strings that need to follow the \u003ccode\u003eUTF-8\u003c/code\u003e standards. You can just paste or type in a string or a URL in the Encode Content box, and we will do the \u003cem\u003eurl-encoding\u003c/em\u003e or \u003cem\u003epercent-encoding\u003c/em\u003e for you in real time. Once the string or URL is encoded, you can simply click on the button to \"Copy Encoded Content\" which will copy the encoded content to your clipboard.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"why-do-we-need-url-encoding\"\u003eWhy do we need URL encoding?\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003eURL encoding\u003c/strong\u003e is needed whenever you have a URL with any reserved characters. For example, if you have a \u003ccode\u003espace\u003c/code\u003e in your URL, the browser won't exactly understand the address you are trying to access. So, you will need to encode your URL to have \u003ccode\u003e%20\u003c/code\u003e equivalent for the \u003ccode\u003espace\u003c/code\u003e. So, with URL encoding, you can actually use reserved characters in a URL without actually confusing the browser.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"what-are-ascii-characters\"\u003eWhat are ASCII characters\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eASCII stands for \"American Standard Code for Information Interchange\". ASCII was the first character set (encoding standard) used between computers over the internet. ISO-885901(the default format for html 4.01) and UTF-8 (the default format for HTML5) are built on ASCII\u003c/p\u003e\n\u003cp\u003eASCII consists of a 7-bit character set containing a total of 128 characters. ASCII contains the numbers from 0 to 9, lower case English letters from \u003ccode\u003ea\u003c/code\u003e to \u003ccode\u003ez\u003c/code\u003e, and some special characters \u003ccode\u003e! * ' ( ) ; : @ \u0026#x26; = + $ , / ? % # [ ]\u003c/code\u003e\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"ascii-character-set\"\u003eASCII character set\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eTo see the complete list of ASCII character sets, \u003ca href=\"https://www.w3schools.com/tags/ref_urlencode.ASP\" title=\"Full list of ASCII character sets\"\u003eplease check out here\u003c/a\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThere are many applications that require you to encode your URL into a format that the systems can understand. If you wish to encode a URL, check out our \u003ca href=\"/url-encoder\" title=\"Free online URL Encoder\"\u003efree online URL Encoder.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSome systems communicate with encoded URLs, so you may
8need to decode a URL. If you want to decode a URL online, we have our \u003ca href=\"/url-decoder\" title=\"Free online URL Decoder\"\u003efree online URL Decoder.\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"},{"slug":"url/write-good-url-slug","meta":{"title":"Crafting Effective URL Slugs - A Comprehensive Guide","description":"A URL is the most critical aspect of your webpage. It is the address of your page. It tells the world that your page has some great content, and anyone on the internet can find your content at your URL. Creating a unique, user-friendly, crisp and contextual url slug is one of the most important impressions you can create for your users. Check out the best practices for creating your URL slug","keywords":"what is a slug in url, url slug generator, short url slug, spaces in url slug, underscore in url slug, hyphens in url slug, lowercase url slug, readable url slug, dates and numbers in url slug, keywords in url slug for seo, stop words in URL slug, long tail search terms in url slug","imageUrl":"/blog/url/write-a-good-url-slug.png","titleSlug":"write-a-good-url-slug","category":["url-slug","url"],"publishedDate":"September 9, 2022","updatedDate":"September 9, 2022"},"content":"\u003cp\u003eA URL is the most critical aspect of your webpage. It is the address of your page. It tells the world that your page has some great content, and anyone on the internet can find your content at your URL. Creating a unique, user-friendly, crisp and contextual url slug is one of the most important impressions you can create for your users. Before we get started, let us understand a couple of things.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eWhat makes a good URL slug?\u003c/strong\u003e\nA \u003ca href=\"/blog/url/what-is-a-url\" title=\"What is a URL?\"\u003eURL\u003c/a\u003e is the most critical aspect of your webpage. It is the address of your page. It tells the world that your page has some great content, and anyone on the internet can find your content at your URL.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eWhat is a Slug?\u003c/strong\u003e\nA \u003ca href=\"/blog/url/what-is-a-slug-in-url\" title=\"What is a slug in the URL?\"\u003eSlug in the URL\u003c/a\u003e is that part of the URL which exactly pin-points your page resource on your domain. You can read more about a slug.\u003c/p\u003e\n\u003cp\u003eFor example:\nhttps://toolsconverters.xyz/blog/url/write-a-good-url-slug\u003c/p\u003e\n\u003cp\u003eIn the above URL, the portion \"write-a-good-url-slug\" is the slug for this webpage.\u003c/p\u003e\n\u003cp\u003eLet us explore the various best practices we have learned that helped us rank higher on the Search Engine Results Page (SERP). Many articles will tell you to do multiple things; however, some may work, and some may not. We have curated the list of best practices that you should follow for creating a slug that will skyrocket your webpages SEO. We used all of these tricks to come up with the slug for this blog.\u003c/p\u003e\n\u003cp\u003eHere are the list of best practices you should consider before you create your slug for your website.\u003c/p\u003e\n\u003cdiv class=\"p-8 bg-white rounded-lg\"\u003e\n\u003col\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#keep-slug-short\" title=\"Keep your slug short\"\u003eKeep your slug short\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#no-spaces-in-url-slug\" title=\"A URL slug cannot have spaces\"\u003eA URL slug cannot have spaces\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#no-underscores-in-url-slug\" title=\"Avoid using underscores in your URLs\"\u003eAvoid using underscores in your URLs\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#lowercase-in-url-slug\" title=\"Slug in a URL should always be lowercase\"\u003eSlug in a URL should always be lowercase\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#readable-slug-in-url\" title=\"Make your slug readable\"\u003eMake your slug readable\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#dates-numbers-slug-in-url\" title=\"Do not include Dates \u0026#x26; Numbers in a slug\"\u003eDo not include Dates \u0026#x26; Numbers in a slug\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#keywords-slug
8-in-url\" title=\"Include Keywords\"\u003eInclude Keywords\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003e\u003ca href=\"#stop-words-in-slug\" title=\"Avoid using stop words\"\u003eAvoid using stop words\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003c/div\u003e\n\u003ch2\u003e\u003ca name=\"keep-slug-short\"\u003e Keep your slug short\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eNow pair it up with our domain, sub-domain, and directory to form the complete URL.\nhttps://www.yourdomain.com/blog/what-makes-a-good-URL-slug-boost-your-SEO-with-great-URL-slug\u003c/p\u003e\n\u003cp\u003eIf you see the URL above, it has everything that your title does but don't you think that the URL is too long for anyone even to remember? How can you expect someone else to recognize your URL slug if you are creating a blog and can't remember your URL for the article?\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"no-spaces-in-url-slug\"\u003e A URL slug cannot have spaces\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eOne of the most critical rules in creating a URL is that you can't use spaces in your URL. This rule makes it more challenging to come up with a good URL and, of course, a good slug.\nHumans are used to reading sentences composed of words and spaces. That is how our education system wires a human brain. However, computer systems do not need to locate a resource on the internet with a sentence. They need to know the address of the resource. So, as a rule, a URL cannot contain any spaces. Therefore, your slug of the URL cannot have any spaces either.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"no-underscores-in-url-slug\"\u003e Avoid using underscores in your URLs\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eIf we cannot use spaces in our URL, how will we separate the words in our URL? We still want our URL words to make logical sense and not just have a bunch of letters stacked together as our URL. We need a separator for the words in our URL.\u003c/p\u003e\n\u003cp\u003eFor example: Let us consider this article slug in the URL\n\"\"\nAs you would have guessed, your blog URL is much more readable when you use a separator. For many of us, one of the most accessible options for a separator is to use an underscore ( _ ).\u003c/p\u003e\n\u003cp\u003eIf you have seen most of the websites across the internet. A URL (link) that is clickable is usually underlined, or when you hover over the text, it is underlined. So, if you have a URL that uses an underscore and is underlined, the underscore overlaps with the underlined URL.\nHence, avoiding using underscore for your slug part of the URL is a great start.\nSeparate words using hyphens\nWhat is the best advice for a word separator in the slug if we do not use an underscore? It is the hyphen. It would be best if you used a hyphen to separate the words in your slug.\nA hyphen separates the words in your slug and makes your slug more readable. A hyphen keeps your URL readable even if the URL has the style of underlining.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"lowercase-in-url-slug\"\u003e Slug in a URL should always be lowercase\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eA URL consists of parts that are case-sensitive as well as parts that are case-insensitive. The domain and sub-domain in a URL are case-insensitive. However, the slug part of the URL is case-sensitive. Having mixed-case characters could lead to someone typing your URL wrong. A wrong URL could lead to a 404 page if the URL doesn't exactly match the case for your slug.\nThere is another issue with case sensitivity. You may end up having duplicate URLs. Usually, your blogs are kept in a folder or a directory or dynamically fetched from a CMS. Having case-sensitive URLs could lead to you naming 2 URLs as the same with a slight difference in the case. You want all your resources to have a unique path on your website.\nFor the above two reasons, you should avoid using case-sensitive content and always have lowercase words in the slug of your URL.\nFor example, This slug could lead to case-sensitivity problems\n\"/What-Makes-A-Good-URL-Slug-Boost-Your-SEO-With-A-Great-URL-Slug\"\nInstead, we could make the URL like below\n\"/what-makes-a-good-URL-slug-boost-your-SEO-with-great-URL-slug\"\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"readable-slug-in-url\"\u003e Make your slug readable\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eThe most basic expectation from anything you read on the internet is that it should be easy to read, understand and remember. So, having a complicated URL or slug will not help the cause. It is a given that a URL is not only seen by bots but also by human beings. The URL you select should be readable enough that the user should understand what they can expect or find on the webpage when they click your URL.\nSo just keeping keywords in your URL for SEO purposes may not make complete sense in terms of the readability of the slug.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"dates-numbers-slug-in-url\"\u003e Do not include Dates \u0026#x26; Numbers in a slug\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eIf you write an article for 2023 and create your title like \"10 Best URL Slug practices for SEO in 2023,\".\nThese articles take more than a year to propagate the search engines. Let's say you come up with the URL \"/10-Best-Slug-practices-for-SEO-in-2023\". Fast forward two years, from 2023 to 2025. Now that your article has matured and been registered in all search engines and drives you traffic, because of the URL being 2023, users will avoid clicking it cause it may be outdated. However, you have constantly refined your content. Users avoiding your URL will message the Search Engines that users are not interested in your content.\u003c/p\u003e\n\u003cp\u003eSimilarly, using numbers in your title may make sense, but adding the number to your URL or slug may not. Let's say you created an article called \"10 Best URL Slug practices for SEO,\" and you decided to add two more best practices to the same blog article. You create a URL slug like \"/10-Best-Slug-practices-for-SEO\".\nYour URL is primarily registered in various search engines and indexed by crawlers. So, if you add two more best practices to the same blog article, you now have 12 Best URL slug practices, but you can't update your URL.\u003c/p\u003e\n\u003cp\u003eThe above two reasons are good enough for you not to include numbers and dates in your URL. They make updating the content difficult for the future.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"keywords-slug
8-in-url\"\u003e Include Keywords\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eOne essential SEO advice you will ever get is to include your page's keywords in your URL. It doesn't mean that you stuff your URL with a keyword trail. The search engines have become more intelligent and do understand your attempt. The best way to generate user interaction is to provide good content. You compose your URL to give enough context and not die with the keyword overweight.\nSo having a title like \"/url-slug-seo-best-practice-title-serp-seo-rank-higher\" is in no way readable and confusing for anyone viewing it. It also appears to be so uneducated that users avoid clicking it.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"slug-is-not-title\"\u003e Slug is not the title\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eUsually, it is a great idea to keep your slug for your webpage in line with the title of your webpage. How to write a good title for your webpage is also an art, but we will keep that topic for another day.\u003c/p\u003e\n\u003cp\u003eMany best practices say that you should keep all your keywords in your title. If you use your title as your slug, you automatically will get all the keywords in your URL.\nFor example:\nThe title of this blog article is \"What Makes A Good URL Slug? Boost Your SEO With A Great URL Slug\"\nIf we create a slug with the title, it will be something like \"/what-makes-a-good-URL-slug-boost-your-SEO-with-great-URL-slug\"\u003c/p\u003e\n\u003cp\u003eSo our URL is shaping up well.\u003c/p\u003e\n\u003ch2\u003e\u003ca name=\"stop-words-in-slug\"\u003e Avoid using stop words\u003c/a\u003e\u003c/h2\u003e\n\u003cp\u003eA title needs to be short and descriptive. A title may consist of one or more stop words. If you are writing a URL slug, it is not a place to be illustrative and long. A slug should be brief, concise, and to the point. Adding stop words will only add fluff to your URL slug.\nIt would be best if you focused on having a short, focused, keyword-rich URL that is easy to remember and share.\u003c/p\u003e\n\u003cp\u003eSo for a title like \"What Makes A Good URL Slug? Boost Your SEO With A Great URL Slug,\" you will have a slug \"/url-slug-seo-best-practice-title-serp-seo-rank-higher.\"\nIf you remove the stop words, you will get something like\n\"/makes-good-url-slug-boost-seo-great-url-slug\"\nOnce again, the above URL slug does not make much sense except for stuffing the URL with keywords.\u003c/p\u003e\n\u003cp\u003eTry to include the long tail search term.\nAfter reading the above slug after removing the stop words, it doesn't make much sense. If you see, our URL has just reduced in size with the technicalities, but the essential aspect of a URL is that it should be short and readable by humans and search engines.\nAdded marks for you if you include the URL as a long tail search term will get you more direct traffic to your blog article or your product.\u003c/p\u003e\n\u003cp\u003eLet's add the human touch to the same; how do you think this URL slug looks?\n\"/write-good-url-slug\"\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003ePro Tip:\nIt would be best if you didn't change or update your URLs as a good practice. Let's say you still go ahead and change the URL, the search engines need to update the URL, and it may take the same time to propagate and bring you traffic. Moreover, the search engines may think it is a new URL, which means it is a new page. So, your new blog is now competing with your old article. So, changing the URL is not advisable.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cblockquote\u003e\n\u003cp\u003eCreating your slug in line with your page title works best. Having your keywords in your page title and URL slug will allow the content and page-level keywords to be in sync. There are many approaches in which you can create your slug. It can become a challenge to be consistent. We have created a simple slug generator for you to create your slug with confidence and consistency.\n\u003ca href=\"/url-slug-generator\" title=\"Url Slug Generator\"\u003eUrl Slug Generator\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n"}],"category":"url"},"__N_SSG":true},"page":"/blog/[category]","query":{"category":"url"},"buildId":"BsgIBl3G8GE5a0v_qmskp","runtimeConfig":{"URI":"http://localhost:1337/api"},"isFallback":false,"gsp":true,"scriptLoader":[]}</script>
8</body></html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.