URL vs URI vs URN: what's the difference?
Short answer
URI is the general term for an identifier. A URL is a URI that says where a resource is and how to reach it, like https://utilumo.com. A URN is a URI that names a resource without saying where it lives, like an ISBN.
URI is the umbrella
A URI (Uniform Resource Identifier) is any string that identifies a resource. URLs and URNs are both kinds of URI; they differ in whether they tell you how to locate the resource.
URL: https://utilumo.com/learn (where + how to access)
URN: urn:isbn:9780131103627 (a name, no location)URL: location
A URL (Uniform Resource Locator) includes a scheme like https that tells you how to access the resource and where it lives. Almost every web address you use is a URL. See The anatomy of a URL.
URN: name
A URN (Uniform Resource Name) identifies a resource by name in a persistent way, without saying where to get it. An ISBN for a book is a classic example: it names the book but does not point to a server.