URL Slug
Definition
A slug is the human-facing identifier inside a URL. In a path it is the last segment, as in /glossary/url-slug; on a host that gives every upload its own subdomain, the slug is that first label. Convention keeps slugs to lowercase ASCII letters, digits and hyphens, because those survive being typed, printed, texted and read aloud without escaping. Spaces become hyphens, accents are folded to their plain letters, and punctuation is dropped rather than percent-encoded into things like %20. Slugs must be unique within their namespace, so a host checks availability as you type and refuses names already taken or reserved for its own use, such as 'www', 'api' or 'admin'. Length is usually capped somewhere around 60 characters.
Why It Matters
The slug is the part of a public URL a person actually reads. 'northgate-terms' tells a recipient what they are about to open; 'f7c2a91e-4b3d' tells them nothing and invites the suspicion that the link is spam. Descriptive slugs also survive being spoken over a phone or printed on a card, which random identifiers do not. There is a cost to changing one: the old address stops resolving the instant the new one starts, so every email, bookmark and QR code pointing at it breaks at once. Pick the name once, at publish time, when nothing is depending on it yet.
How It Works
The host normalises whatever you type before it stores anything: case is lowered, whitespace and underscores collapse to single hyphens, diacritics are stripped, and any remaining unsafe character is removed. The result is checked against existing records and a reserved list, and refused if taken. Once accepted it becomes a key — a lookup from that string to the stored object — so the routing layer can answer a request without scanning anything. Renaming writes a new key, and the old one simply stops matching, which is why a considerate host offers a 301 redirect from the old address rather than leaving a dead link. Trailing slashes, uppercase variants and duplicate hyphens are normally folded to one canonical form so the same content is not reachable at three different spellings.
Real-World Example
An agency uploads a proposal and types 'Acme Pitch Deck v2 FINAL' as the name. The host stores it as acme-pitch-deck-v2-final.99helpers.site, which works but reads like an internal file name and dates itself the day the client sees it. Publishing it as acme-pitch.99helpers.site instead gives an address that can be reused for the next revision, because 99helpers keeps version history against the slug rather than creating a new one each time.
Common Mistakes
- ✕Putting a version number or a date in the slug — the address is then wrong the moment the file is updated, and you either mislead readers or mint a second link
- ✕Using underscores or capitals, which survive in the address bar but get mangled when the link is auto-detected in chat apps or underlined in a document
- ✕Choosing a slug so long that it wraps in email clients, where a broken line turns a working link into two dead fragments
- ✕Renaming a live slug without leaving a redirect, so printed material and inbound links all fail at once
Related Terms
Public URL
An address that serves its content to anyone who requests it, with no sign-in, token or password. Having the address is the only requirement.
Shareable Link
A shareable link is the address you hand to another person so they can reach a file you have hosted. It normally points at a page that presents the file — name, size, a download button — rather than at the raw bytes.
Subdomain
A subdomain is a label placed in front of a domain you already control, such as docs.acme.com or acme-pitch.99helpers.site. It is a separate address that can point somewhere completely different from its parent.
Custom Domain
A custom domain is a name you own, pointed at content somebody else hosts, so visitors see files.acme.com instead of the provider's address. You keep the registration; the provider keeps the servers.
301 Redirect
A 301 redirect is a response telling the browser that a page has moved permanently and giving the new address. The old URL keeps working for anyone who follows the old link, but everything that matters now lives at the new one.
Put a file online in seconds
Drop in a document, an image, a page or a whole static website and share the link — free, with no build step and no server to set up.
Host a file free →