Slug to Title Converter

Turn URL slugs like my-blog-post into clean, readable Title Case headings.

The Slug to Title Converter takes the compressed, hyphen-separated slugs that live at the end of URLs and turns them back into clean, human-readable titles. Paste something like my-first-blog-post or annual_sales_report and it returns My First Blog Post or Annual Sales Report, ready to drop into a heading, a breadcrumb, a page title, or a content management field.

It understands the separators that show up in real slugs: hyphens from kebab-case, underscores from snake_case, dots, and stray spaces are all treated as word boundaries. Trailing file extensions such as .html or .php are stripped automatically so they do not pollute the finished title, and each word is capitalised with sensible Title Case rules.

Everything runs locally in your browser using JavaScript, so you can convert an entire list of slugs at once, one per line, without anything being uploaded. Developers building routing tables, editors labelling imported pages, and anyone reverse-engineering a sitemap can generate friendly titles in bulk in a single click.

Features

  • Converts kebab-case, snake_case, dot-separated and space-separated slugs into readable Title Case output.
  • Processes many slugs at once, one per line, so you can title an entire URL list in a single pass.
  • Strips trailing file extensions such as .html, .php and .aspx so they never appear in the final title.
  • Applies smart Title Case that keeps minor words like of, the and and lowercase in the middle of a title.
  • Always capitalises the first and last word regardless of length, matching common editorial style guides.
  • Optionally forces every word to capitalise, including small words, when you want strict start-case output.
  • Runs entirely in your browser with no upload, no sign-up and no limit on how many slugs you convert.

How to use Slug to Title Converter

  1. Paste one or more URL slugs into the input box, placing each slug on its own line.
  2. Leave the default smart Title Case on to keep minor words lowercase, or enable full capitalisation.
  3. Read the converted titles in the output, matched line for line with your input slugs.
  4. Copy the results or download them as a text file to paste into your CMS or code.
  5. Check the stats to confirm how many slugs were converted in the batch.

Benefits

  • Developers auto-generate page headings and breadcrumbs from route slugs without writing conversion code.
  • Content editors relabel bulk-imported pages whose only human clue is the URL slug.
  • SEO specialists draft readable meta titles quickly from an existing set of URL paths.
  • Documentation writers turn file names into section headings when building an index.
  • Anyone auditing a sitemap can preview what each URL is actually about at a glance.
  • Because conversion is local, unpublished URLs and internal paths never leave your device.

Slugs are deliberately terse: they are lowercased, stripped of punctuation, and joined with hyphens or underscores so they are safe inside a URL. That compression makes them unreadable at a glance, which is exactly the problem this tool solves by reversing the process and restoring spaces and capitalisation to produce a natural title.

Title Case is not a single rule but a family of conventions. Most editorial styles capitalise the first and last words and every major word, while leaving short conjunctions, articles and prepositions lowercase in the middle. This converter follows that common pattern by default, but the full-capitalisation option is there for cases where you prefer every word to start with a capital letter.

All processing happens in your browser with JavaScript, so nothing you paste is transmitted or stored, making the tool safe for internal or pre-launch URLs. Because a slug loses information when it is created, the converter cannot always restore original punctuation or acronym casing, so treat the output as a strong starting point that you can lightly polish by hand.

Frequently asked questions

Related tools