Slug to Title Converter NZ
This tool turns a URL slug back into a readable, properly capitalised title, the reverse of the slugifying that creates web-address-friendly text. A slug is the lowercase, hyphenated tail of a web address, like best-flat-white-in-wellington, designed for URLs rather than reading. Often you need to go the other way: to display a heading from a slug, to generate a page title from its address, to create link text, or to recover a human-readable label from a file or database key that was stored in slug form. Doing this by hand means replacing the separators with spaces and capitalising each word, which is tedious for more than a couple. This converter does it instantly. You paste a slug, using hyphens or underscores between words, and the calculator replaces the separators with spaces and capitalises each word to produce a clean title, shown in the box ready to copy. The result updates as you type and runs in your browser. Use it to generate headings or titles from slugs, to create readable labels from keys, to reverse a slug for display, or for content and development work. It handles both hyphen and underscore separators, collapses any runs of them, and trims separators from the ends, so a messy slug still comes out tidy. The conversion uses title case, capitalising the first letter of every word, which suits most headings and titles. A note on the limits of any automatic conversion: it cannot know about acronyms or words that should stay lowercase, so a slug like nz-gst-guide becomes Nz Gst Guide rather than NZ GST Guide, and small joining words are capitalised too. For most purposes the result is exactly what you want, and you can tweak any special cases by hand afterwards.
Replaces hyphens and underscores with spaces and applies title case. Cannot know acronyms, so nz becomes Nz; tweak special cases by hand. Runs entirely in your browser.
How it works
The converter replaces every hyphen and underscore with a space, collapsing any runs of separators and trimming them from the ends, then capitalises the first letter of each resulting word while lowercasing the rest. This produces a clean, title-cased heading from the slug, the reverse of the slugifying process.
Worked example
The slug best-flat-white-in-wellington becomes the title Best Flat White In Wellington. Each hyphen turns into a space and every word is capitalised. An underscore-separated slug like annual_report_2026 would become Annual Report 2026 in exactly the same way.
Related calculators
- URL Slug Generator: the reverse direction.
- Text Case Converter: change case.
- Word Counter: count words.
- Text Reverser: reverse text.