Dark mode switch icon Light mode switch icon

URI vs. URL

1 min read

I’ve wanted a good operational definition for when you should use URI or URL and so here’s my attempt:

Summary:

URI refers to a resource.  e.g. urn:isbn:0-395-36341-1 for a book by ISBN

A URL is a type of a URI that provides additional information that URIs don’t necessarily provide (but they can):

A resource with a given URI could have multiple different URLs.  The same ISBN URI above can be found at Amazon or many other online URLs, for example.

Ajaxian » URI vs. URL: What’s the difference?

Uniform Resource Identifier - Wikipedia, the free encyclopedia

Originally published on by Jason Axley