The Techie blog
Published in

The Techie blog

Differences between a URI and a URL

Even though the two acronyms are interchangeably used, there are slight differences between them. Starting off, URI stands for Uniform Resource Identifier and URL stands for Uniform Resource Locator.

URI is used for names, locators as well as both for an online resource. While URL can only be used for locators. That is, we can have URL as a subset of URI.

Also, a URI can be described as a identifier of a resource. A page, a book or a document can be said as an example. Where as, URL is also a identifier but that contains the data on how to access it.

Most importantly, all URLs are not URIs but all URIs are URLs.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store