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.
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.
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.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.