PixelTidy
← Back to PixelTidy field notes

Build a readable slug without losing the meaning.

A slug is the readable segment of a URL that often starts as a page title. It should help an editor recognize the page during a handoff and help a reader understand a shared link. It does not need to reproduce every flourish of the headline.

The decision: what meaning must travel with the link?

Start with the title, generate a slug, then read it as a short label. Keep the subject and the distinction that separates this page from similar ones. Remove words only when the remaining label is still clear. A date belongs in the slug when it is part of the page’s lasting identity, not simply because the draft was written this week.

Source titleSettingPixelTidy result
Café notes: a writer’s checklistKeep Unicode, hyphencafé-notes-a-writers-checklist
Café notes: a writer’s checklistFold Latin accents, hyphencafe-notes-a-writers-checklist
Draft / Review / PublishKeep Unicode, underscoredraft_review_publish
AT&T notesKeep Unicode, hyphenat-t-notes

Choose accent handling deliberately

PixelTidy keeps Unicode letters by default, including accented Latin letters and non-Latin scripts. The result is normalized to Unicode NFC. Choose Latin accent folding if your publishing workflow prefers “cafe” over “café”. That option removes combining accents attached to Latin letters; it does not translate words, romanize other scripts, or convert every visually similar letter into an ASCII equivalent.

A publishing system may show Unicode in its editor and percent-encode it in a copied URL. That difference in appearance does not by itself mean the slug is broken. The important check is the actual destination after saving. Test a complete link from your publishing system; PixelTidy generates a segment and does not check whether a page exists.

Check what punctuation did to the meaning

The tool lowercases the text, removes apostrophes, and turns other punctuation and whitespace into a single separator. It trims separators from the ends. It does not expand an ampersand into the word “and”: the AT&T example becomes “at-t”. If that result obscures the subject, revise the source title in the tool or edit the final segment in your publishing system. Automatic cleanup cannot make that editorial decision.

Hyphens are the default here. Underscores are available for workflows that require them. The tool deliberately does not remove common words or claim to predict a search ranking. A clear, stable label is a better editorial goal than chasing a supposed perfect word count for a URL.

Before a slug becomes a published address

  1. Read the result without the headline and check that its subject is still obvious.
  2. Confirm the character and separator rules in the destination CMS.
  3. Check for duplicate slugs; PixelTidy does not reserve or look up addresses.
  4. If you change an existing address, set the appropriate redirect in your publishing system and test the complete old and new links.