Skip to content
BENIBIX Learn

Uniform Resource Identifier (URI)

General🕸️ InternetThe Web

Also known as URI, URIs

A short text name for one thing, like a page, a file or an inbox.

Think of it like

Think of it like a name tag on a box. It tells you which box you mean.

Example

Emma's notes app gives one note a URI that starts with file://. A second app is handed that URI and opens the very same file.

Why it matters

Apps and protocols point at things by URI. One clear name means every program finds the same thing.

Definition

A URI is a short line of text that names one thing, such as a page, a file or an inbox. It starts with a scheme, like https or file, and then a colon. Every URL is a URI, because a URL is the kind that also says where the thing is. Some URIs only give a name, such as mailto and an email address. Apps use URIs so two programs agree on which thing they mean.

Example code

url
https://example.com/menu
file:///home/emma/todo.md
mailto:emma@example.com
Three URIs with three schemes. The part before the colon says what kind of name follows.

Common mistake

Thinking URI and URL are rivals. A URL is one kind of URI, the kind that also says how to get there.

Key takeaways

  1. 1
    Scheme first. Like https, file or mailto.
  2. 2
    Names one thing. Each URI means one thing.
  3. 3
    URL is a kind. Every URL is also a URI.

Compare