Difference Wiki

URL vs. URI

URI and URL are used to find the resources or name in the internet. URL is the subset of URI. URI and URL are differ by the protocol to retrieve the resource. URL uses a network protocol e.g. http, https etc to retrieve resource from its location. URI with its subset URN uniquely identifies the resources e.g. ISBN. Every URL is URI but not vice versa. We can take an example. If the name of person is identified, it is URN. If his address is identified, it is URL. If both name and address are identified, it is URI.

Key Differences

URI is an identifier for some resource while URL provides specific information to get the source.
If both location and name of a resource are described then it is URI but not only URL.
Aimie Carlson
Sep 19, 2015
If only location of a source is described then it is URL but also URI.
Aimie Carlson
Sep 19, 2015
URI is the superset of URL and URN.
URL is the subset of URI.
Every URN is URI but vice versa is not compulsory.
ADVERTISEMENT
Every URL is URI but not vice versa.
Janet White
Sep 19, 2015
Every URI may be URL or URN but not compulsory.

URL and URI Definitions

Url

An internet address (for example, http://www.hmhco.com/about-hmh), usually consisting of the access protocol (http), the domain name (hmhco.com), and optionally the path to a file or resource residing on the server where the domain name resides (about-hmh).

URI

Plural of urus

Url

The address of a web page on the world wide web

What is URI?

URI stands for Uniform Resource Identifier. It is used to find name or source on internet. It is a compact sequence of characters to identify a physical source. It identifies resource by either name or a location or maybe both. It includes authority, scheme fragment and query. It has subsets URL (Uniform Resource Locator) and URN (Uniform Resource Name). In library tag the URI is used to locate binary corresponding.

What is URL?

URL stands for Uniform Resource Locator. It is the subset of URI. It is used to find the location along with retrieve the source. e.g. http://www.differencebtw.com/. It is used to find the location of a resource.

Trending Comparisons

New Comparisons