{"id":4314,"date":"2026-11-06T11:05:00","date_gmt":"2026-11-06T11:05:00","guid":{"rendered":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/"},"modified":"2026-11-11T11:33:44","modified_gmt":"2026-11-11T11:33:44","slug":"uri-vs-url","status":"publish","type":"post","link":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/","title":{"rendered":"URI vs URL vs URN: What&#8217;s the Difference, with Examples"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A URI (Uniform Resource Identifier) is any string that identifies a resource. A URL (Uniform Resource Locator) is a URI that also tells you how to reach the resource, such as <code>https:\/\/www.ucartz.com\/domain-search<\/code>. So every URL is a URI, but not every URI is a URL: <code>urn:isbn:...<\/code> names a book without saying where to get it. In everyday web work the two words are used for the same thing, and the standard browsers follow has settled on &#8220;URL&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url-screenshot-1024x344.png\" alt=\"Terminal showing Node.js splitting a URL into protocol, username, host, hostname, port, pathname, search, hash and origin\" class=\"wp-image-4316\" srcset=\"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url-screenshot-1024x344.png 1024w, https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url-screenshot-300x101.png 300w, https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url-screenshot-768x258.png 768w, https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url-screenshot.png 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The parts of a URL as the WHATWG URL parser in Node.js sees them<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">URI, URL and URN side by side<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The terms come from <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc3986\" target=\"_blank\" rel=\"noopener noreferrer\">RFC 3986<\/a>, the standard that defines generic URI syntax. It describes a URL as the subset of URIs that, besides identifying a resource, describe its &#8220;primary access mechanism&#8221;, in other words its network location. A URN (Uniform Resource Name) is a URI meant to stay the same forever, even if the thing it names moves or disappears.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Term<\/th><th>What it does<\/th><th>Example<\/th><\/tr><\/thead><tbody><tr><td>URI<\/td><td>Identifies a resource. The umbrella term.<\/td><td>Any of the examples below<\/td><\/tr><tr><td>URL<\/td><td>Identifies a resource and says how to fetch it (protocol, host, path)<\/td><td><code>https:\/\/shop.example.com\/products\/list?page=2<\/code><\/td><\/tr><tr><td>URN<\/td><td>Names a resource in a namespace, with no location<\/td><td><code>urn:oasis:names:specification:docbook:dtd:xml:4.1.2<\/code><\/td><\/tr><tr><td>Other URIs<\/td><td>Schemes that start an action rather than fetch a page<\/td><td><code>mailto:info@example.com<\/code>, <code>tel:+1-816-555-1212<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The boundaries are softer than the table suggests. RFC 3986 says a scheme does not have to be just a &#8220;name&#8221; or just a &#8220;locator&#8221;; it depends on how carefully the identifiers are assigned. That is why the RFC itself recommends that new documents use the general term &#8220;URI&#8221; rather than &#8220;URL&#8221; or &#8220;URN&#8221;. <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8141\" target=\"_blank\" rel=\"noopener noreferrer\">RFC 8141<\/a> defines URNs today: URIs under the <code>urn<\/code> scheme, with a registered namespace such as <code>isbn<\/code>, intended to be persistent and location-independent. You can see every registered scheme, from <code>https<\/code> to <code>mailto<\/code> and <code>tel<\/code>, in the <a href=\"https:\/\/www.iana.org\/assignments\/uri-schemes\" target=\"_blank\" rel=\"noopener noreferrer\">IANA URI Schemes registry<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The parts of a URI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 3986 gives this example of the five components:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>foo:\/\/example.com:8042\/over\/there?name=ferret#nose\n\\_\/   \\______________\/\\_________\/ \\_________\/ \\__\/\n |           |            |            |        |\nscheme   authority       path        query   fragment<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Only the scheme and the path are required, and the path may be empty. To see how software splits a real address, we parsed one with the <code>URL<\/code> class in Node.js 24.21.0, which, according to the <a href=\"https:\/\/nodejs.org\/api\/url.html\" target=\"_blank\" rel=\"noopener noreferrer\">Node.js documentation<\/a>, implements the same WHATWG URL Standard that web browsers use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const u = new URL('https:\/\/user@shop.example.com:8443\/products\/list?page=2&amp;sort=price#reviews');\n\nprotocol  \"https:\"\nusername  \"user\"\nhost      \"shop.example.com:8443\"\nhostname  \"shop.example.com\"\nport      \"8443\"\npathname  \"\/products\/list\"\nsearch    \"?page=2&amp;sort=price\"\nhash      \"#reviews\"\norigin    \"https:\/\/shop.example.com:8443\"<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Scheme:<\/strong> <code>https<\/code>, <code>ftp<\/code>, <code>mailto<\/code> and so on. It decides how the rest is read.<\/li>\n\n\n\n<li><strong>Authority:<\/strong> optional user information, the host (a domain name or IP address) and an optional port. Without a port, HTTPS uses TCP 443 by default, according to <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9110\" target=\"_blank\" rel=\"noopener noreferrer\">RFC 9110<\/a>.<\/li>\n\n\n\n<li><strong>Path:<\/strong> the resource on that host, often but not always a file or folder.<\/li>\n\n\n\n<li><strong>Query:<\/strong> everything after <code>?<\/code>, usually <code>name=value<\/code> pairs.<\/li>\n\n\n\n<li><strong>Fragment:<\/strong> everything after <code>#<\/code>, a part inside the resource, such as a heading on a page.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Non-web URIs parse too, they just have no host. Node reported <code>mailto:info@example.com<\/code> with protocol <code>\"mailto:\"<\/code>, pathname <code>\"info@example.com\"<\/code> and origin <code>\"null\"<\/code>, and the URN example came back with protocol <code>\"urn:\"<\/code> and the rest as its path. For the older, reader-friendly tour of a web address (subdomains, TLDs and paths), see our post <a href=\"https:\/\/www.ucartz.com\/blog\/what-is-a-url\/\">What is a URL?<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Two standards, two habits<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 3986 is not the only rulebook. Browsers follow the WHATWG URL Standard, a living standard whose stated goals include aligning RFC 3986 with how browsers really behave and &#8220;Standardize on the term URL. URI and IRI are just confusing.&#8221; So the web platform says URL, while many protocol documents still say URI: HTTP&#8217;s own specification, RFC 9110, talks about the &#8220;target URI&#8221; of a request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The difference is not only about names. We gave the same inputs to Node.js (WHATWG rules) and to Python 3.14.7&#8217;s <code>urllib.parse<\/code>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Input<\/th><th>Node.js <code>URL<\/code><\/th><th>Python <code>urllib.parse<\/code><\/th><\/tr><\/thead><tbody><tr><td><code>https:\/\/example.com\/my file.pdf<\/code><\/td><td>Space encoded: <code>\/my%20file.pdf<\/code><\/td><td>Space kept: <code>\/my file.pdf<\/code><\/td><\/tr><tr><td><code>HTTPS:\/\/Shop.Example.COM:443\/A<\/code><\/td><td><code>https:\/\/shop.example.com\/A<\/code> (lowercased, default port dropped)<\/td><td>netloc kept as <code>Shop.Example.COM:443<\/code><\/td><\/tr><tr><td><code>\\\\evil.example<\/code> relative to <code>https:\/\/shop.example.com\/<\/code><\/td><td><code>https:\/\/evil.example\/<\/code> (backslash read as slash)<\/td><td><code>https:\/\/shop.example.com\/\\\\evil.example<\/code><\/td><\/tr><tr><td><code>\/products\/list<\/code> on its own<\/td><td><code>TypeError: Invalid URL<\/code> (needs a base)<\/td><td>Parsed with an empty scheme and host<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Neither is wrong. The <a href=\"https:\/\/docs.python.org\/3\/library\/urllib.parse.html\" target=\"_blank\" rel=\"noopener noreferrer\">Python documentation<\/a> says it plainly: the WHATWG spec describes what web browsers require, RFC 3986 is more general, and Python&#8217;s functions &#8220;incorporate some aspects of both, but cannot be claimed compliant with either&#8221;. It also warns that <code>urlsplit()<\/code> does not validate input. The backslash row is the one to remember: if a server-side check and the browser read the same link differently, an allow-list of redirect targets can be bypassed. Validate URLs with the same parser that will finally use them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Relative references: URIs without a scheme<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Links such as <code>..\/images\/logo.png<\/code> or <code>\/contact<\/code> are what RFC 3986 calls relative references. They only become full URIs once they are resolved against a base, usually the address of the current page. Using the RFC&#8217;s own base, <code>http:\/\/a\/b\/c\/d;p?q<\/code>, both Node.js and Python produced the results the RFC lists:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"g\"        http:\/\/a\/b\/c\/g\n\"..\/g\"     http:\/\/a\/b\/g\n\"\/g\"       http:\/\/a\/g\n\"?y\"       http:\/\/a\/b\/c\/d;p?y\n\"#s\"       http:\/\/a\/b\/c\/d;p?q#s\n\"..\/..\/g\"  http:\/\/a\/g\n\"\/\/g\"      http:\/\/g     (Node.js adds a slash: http:\/\/g\/)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A reference starting with <code>\/\/<\/code> keeps only the scheme of the base and replaces the host, which is why a stray double slash in a template can send visitors to a different site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which parts reach your web server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 3986 says the fragment is separated from the rest of the URI before it is dereferenced and is handled only by the user agent. We checked with nginx in Docker, requesting <code>http:\/\/b08-web\/index.html?page=2#reviews<\/code> with curl and with Node.js <code>fetch<\/code>. The access log shows the same thing for both:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"GET \/index.html?page=2 HTTP\/1.1\" 200 896 \"-\" \"curl\/8.22.0\"\n\"GET \/index.html?page=2 HTTP\/1.1\" 200 896 \"-\" \"node\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The request line carries only the path and query (HTTP\/1.1 calls this the &#8220;origin-form&#8221;), the host travels in the <code>Host<\/code> header, and <code>#reviews<\/code> never leaves the client. So you cannot redirect, log or rewrite based on a fragment on the server; that needs JavaScript in the page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Case matters too. RFC 3986 says the scheme and host are case-insensitive, and other parts are case-sensitive unless the scheme says otherwise. On the same nginx server, <code>HTTP:\/\/B08-WEB\/index.html<\/code> returned 200, but <code>\/Index.html<\/code> returned 404.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Practical checklist for website owners<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Say &#8220;URL&#8221; for web addresses.<\/strong> It is what browsers, JavaScript and most readers use. Use &#8220;URI&#8221; when you are writing about identifiers in general or quoting an RFC.<\/li>\n\n\n\n<li><strong>Keep paths lowercase.<\/strong> On a Linux server <code>\/About<\/code> and <code>\/about<\/code> are different URLs, and two versions of a page split your links.<\/li>\n\n\n\n<li><strong>Pick one canonical form<\/strong> (https, with or without www, trailing slash or not) and redirect the others with a 301. See <a href=\"https:\/\/www.ucartz.com\/clients\/knowledgebase\/249\/How-to-do-URL-redirection.html\">How to do URL redirection<\/a>, or <a href=\"https:\/\/www.ucartz.com\/clients\/knowledgebase\/9290\/How-to-Set-Up-Redirects-in-WordPress-Redirection-Plugin-and-.htaccess.html\">redirects in WordPress<\/a>.<\/li>\n\n\n\n<li><strong>Encode spaces and special characters<\/strong> in file names, or better, avoid them. The URL parser browsers use turns a space into <code>%20<\/code>, but not every tool does.<\/li>\n\n\n\n<li><strong>Do not put secrets in the query string.<\/strong> The path and query appear in server logs, as our nginx log shows.<\/li>\n\n\n\n<li><strong>Use rewrites for clean URLs<\/strong> rather than exposing script names: <a href=\"https:\/\/www.ucartz.com\/clients\/knowledgebase\/965\/Rewrite-URLs-with-mod_rewrite-and-Apache.html\">Rewrite URLs with mod_rewrite and Apache<\/a> shows how.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In short: URI is the family name, URL is the member you type into a browser, and URN is the rarely seen cousin that names things without a location. The part of a URL that you own is the host, so it starts with a domain name. If you are planning a new site, run a <a href=\"https:\/\/www.ucartz.com\/domain-search\">domain search<\/a>, and if you are moving an existing one, read <a href=\"https:\/\/www.ucartz.com\/blog\/change-website-domain-name-without-losing-seo\/\">how to change your domain name without losing SEO<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.<\/p>\n","protected":false},"author":5,"featured_media":4315,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[237,83],"tags":[1177,1175,1173,1171,1172,1174,1178,1176],"class_list":["post-4314","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking","category-website-development","tag-relative-url","tag-rfc-3986","tag-uri","tag-uri-vs-url","tag-url","tag-urn","tag-web-address","tag-whatwg-url"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>URI vs URL vs URN: The Difference Explained | Ucartz<\/title>\n<meta name=\"description\" content=\"URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"| Ucartz Blog | Ucartz\" \/>\n<meta property=\"og:description\" content=\"URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/\" \/>\n<meta property=\"og:site_name\" content=\"Ucartz Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/UcartzOnline\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-06T11:05:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-11T11:33:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ashily Shaji\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"| Ucartz Blog | Ucartz\" \/>\n<meta name=\"twitter:creator\" content=\"@ucartz\" \/>\n<meta name=\"twitter:site\" content=\"@ucartz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashily Shaji\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/\"},\"author\":{\"name\":\"Ashily Shaji\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed6b098cc94c224512e124471f674d69\"},\"headline\":\"URI vs URL vs URN: What&#8217;s the Difference, with Examples\",\"datePublished\":\"2026-11-06T11:05:00+00:00\",\"dateModified\":\"2026-11-11T11:33:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/\"},\"wordCount\":1132,\"publisher\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/uri-vs-url.jpg\",\"keywords\":[\"relative url\",\"rfc 3986\",\"uri\",\"uri vs url\",\"url\",\"urn\",\"web address\",\"whatwg url\"],\"articleSection\":[\"Networking\",\"Website Development\"],\"inLanguage\":\"en-US\"},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/\",\"name\":\"| Ucartz Blog | Ucartz\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/uri-vs-url.jpg\",\"datePublished\":\"2026-11-06T11:05:00+00:00\",\"dateModified\":\"2026-11-11T11:33:44+00:00\",\"description\":\"URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/\"]}]},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/uri-vs-url.jpg\",\"contentUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/uri-vs-url.jpg\",\"width\":1200,\"height\":630,\"caption\":\"URI vs URL vs URN: What's the Difference, with Examples\"},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/uri-vs-url\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"URI vs URL vs URN: What&#8217;s the Difference, with Examples\"}]},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/\",\"name\":\"Ucartz Blog\",\"description\":\"Guides on hosting, servers, streaming and automation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#organization\"},\"alternateName\":\"Ucartz\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#organization\",\"name\":\"Ucartz Online Private Limited\",\"alternateName\":\"Ucartz\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/assets\\\/images\\\/brand\\\/logo\\\/ucartz-logo-888x240.png\",\"contentUrl\":\"https:\\\/\\\/www.ucartz.com\\\/assets\\\/images\\\/brand\\\/logo\\\/ucartz-logo-888x240.png\",\"width\":888,\"height\":240,\"caption\":\"Ucartz\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/UcartzOnline\",\"https:\\\/\\\/twitter.com\\\/ucartz\",\"https:\\\/\\\/www.instagram.com\\\/ucartz_com\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ucartzonline\",\"https:\\\/\\\/github.com\\\/ucartz\",\"https:\\\/\\\/n8n.io\\\/creators\\\/ucartz\\\/\",\"https:\\\/\\\/marketplace.whmcs.com\\\/group\\\/Ucartz\"]},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed6b098cc94c224512e124471f674d69\",\"name\":\"Ashily Shaji\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/themes\\\/ucartz-blog\\\/assets\\\/images\\\/authors\\\/ashily-112.webp\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/themes\\\/ucartz-blog\\\/assets\\\/images\\\/authors\\\/ashily-112.webp\",\"contentUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/themes\\\/ucartz-blog\\\/assets\\\/images\\\/authors\\\/ashily-112.webp\",\"caption\":\"Ashily Shaji\"},\"sameAs\":[\"https:\\\/\\\/www.ucartz.com\\\/\"],\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/author\\\/ashily\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"URI vs URL vs URN: The Difference Explained | Ucartz","description":"URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/","og_locale":"en_US","og_type":"article","og_title":"| Ucartz Blog | Ucartz","og_description":"URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.","og_url":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/","og_site_name":"Ucartz Blog","article_publisher":"https:\/\/www.facebook.com\/UcartzOnline","article_published_time":"2026-11-06T11:05:00+00:00","article_modified_time":"2026-11-11T11:33:44+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url.jpg","type":"image\/jpeg"}],"author":"Ashily Shaji","twitter_card":"summary_large_image","twitter_title":"| Ucartz Blog | Ucartz","twitter_creator":"@ucartz","twitter_site":"@ucartz","twitter_misc":{"Written by":"Ashily Shaji","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@context":"https:\/\/schema.org","@type":"Article","@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#article","isPartOf":{"@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/"},"author":{"name":"Ashily Shaji","@id":"https:\/\/www.ucartz.com\/blog\/#\/schema\/person\/ed6b098cc94c224512e124471f674d69"},"headline":"URI vs URL vs URN: What&#8217;s the Difference, with Examples","datePublished":"2026-11-06T11:05:00+00:00","dateModified":"2026-11-11T11:33:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/"},"wordCount":1132,"publisher":{"@id":"https:\/\/www.ucartz.com\/#organization"},"image":{"@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url.jpg","keywords":["relative url","rfc 3986","uri","uri vs url","url","urn","web address","whatwg url"],"articleSection":["Networking","Website Development"],"inLanguage":"en-US"},{"@context":"https:\/\/schema.org","@type":"WebPage","@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/","url":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/","name":"| Ucartz Blog | Ucartz","isPartOf":{"@id":"https:\/\/www.ucartz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#primaryimage"},"image":{"@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url.jpg","datePublished":"2026-11-06T11:05:00+00:00","dateModified":"2026-11-11T11:33:44+00:00","description":"URI vs URL explained: how URLs and URNs fit inside URIs, the parts of an address, why browsers and RFC 3986 differ, and what reaches your server.","breadcrumb":{"@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ucartz.com\/blog\/uri-vs-url\/"]}]},{"@context":"https:\/\/schema.org","@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#primaryimage","url":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url.jpg","contentUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/uri-vs-url.jpg","width":1200,"height":630,"caption":"URI vs URL vs URN: What's the Difference, with Examples"},{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","@id":"https:\/\/www.ucartz.com\/blog\/uri-vs-url\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ucartz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"URI vs URL vs URN: What&#8217;s the Difference, with Examples"}]},{"@context":"https:\/\/schema.org","@type":"WebSite","@id":"https:\/\/www.ucartz.com\/blog\/#website","url":"https:\/\/www.ucartz.com\/blog\/","name":"Ucartz Blog","description":"Guides on hosting, servers, streaming and automation","publisher":{"@id":"https:\/\/www.ucartz.com\/#organization"},"alternateName":"Ucartz","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ucartz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@context":"https:\/\/schema.org","@type":"Organization","@id":"https:\/\/www.ucartz.com\/#organization","name":"Ucartz Online Private Limited","alternateName":"Ucartz","url":"https:\/\/www.ucartz.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.ucartz.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ucartz.com\/assets\/images\/brand\/logo\/ucartz-logo-888x240.png","contentUrl":"https:\/\/www.ucartz.com\/assets\/images\/brand\/logo\/ucartz-logo-888x240.png","width":888,"height":240,"caption":"Ucartz"},"image":{"@id":"https:\/\/www.ucartz.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/UcartzOnline","https:\/\/twitter.com\/ucartz","https:\/\/www.instagram.com\/ucartz_com","https:\/\/www.linkedin.com\/company\/ucartzonline","https:\/\/github.com\/ucartz","https:\/\/n8n.io\/creators\/ucartz\/","https:\/\/marketplace.whmcs.com\/group\/Ucartz"]},{"@context":"https:\/\/schema.org","@type":"Person","@id":"https:\/\/www.ucartz.com\/blog\/#\/schema\/person\/ed6b098cc94c224512e124471f674d69","name":"Ashily Shaji","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ucartz.com\/blog\/wp-content\/themes\/ucartz-blog\/assets\/images\/authors\/ashily-112.webp","url":"https:\/\/www.ucartz.com\/blog\/wp-content\/themes\/ucartz-blog\/assets\/images\/authors\/ashily-112.webp","contentUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/themes\/ucartz-blog\/assets\/images\/authors\/ashily-112.webp","caption":"Ashily Shaji"},"sameAs":["https:\/\/www.ucartz.com\/"],"url":"https:\/\/www.ucartz.com\/blog\/author\/ashily\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts\/4314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/comments?post=4314"}],"version-history":[{"count":1,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts\/4314\/revisions"}],"predecessor-version":[{"id":4317,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts\/4314\/revisions\/4317"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/media\/4315"}],"wp:attachment":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/media?parent=4314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/categories?post=4314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/tags?post=4314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}