Slug to Title Case Converter
Paste a URL slug or filename and get back a readable Title Case heading. The converter splits on hyphens, underscores and spaces, collapses repeated separators, and drops a known file extension such as .md or .html. Short words like of, the and for stay lowercase in the middle of the phrase, while the first and last words are always capitalized. It works line by line, so you can turn a whole list of slugs into headings at once.
How to convert a slug to a title
- Type or paste a slug or filename into the Slug or filename box, for example the-lord-of-the-rings or my_blog_post.md.
- Enter one slug per line if you want to convert a whole list in a single pass.
- Watch the Title heading update instantly as you type; hyphens and underscores become spaces and each word is capitalized.
- Leave the Keep small words lowercase box checked for standard title case, or uncheck it to capitalize every word.
- Try a preset button such as 10-tips-for-seo to see the rules in action.
- Use the copy button above the Title box to grab the result.
Examples
Slug with small words
the-lord-of-the-rings
The Lord of the Rings
Filename with extension
my_blog_post.md
My Blog Post
Slug that starts with a number
10-tips-for-seo
10 Tips for Seo
Frequently asked questions
Does it treat underscores and hyphens the same way?
Yes. Hyphens, underscores and spaces are all read as word breaks, so my-blog-post and my_blog_post both become My Blog Post. Repeated separators collapse into a single space, so double__underscores do not leave gaps.
How are small words handled?
With the default rules the words a, an, and, as, at, but, by, for, from, if, in, nor, of, on, or, per, the, to, via and vs stay lowercase, unless they fall first or last in the phrase. Uncheck Keep small words lowercase to capitalize every word instead.
Which file extensions get removed?
A known trailing extension after the final dot is stripped, including .md, .txt, .html, .css, .js, .ts, .json, .yml, .xml, .csv, .pdf, image types like .png and .jpg, and common source files like .py and .go. Unknown suffixes such as v1.2 are left alone.
Does it keep acronyms in uppercase?
No. Every word is normalized to an initial capital with the rest lowercased, so seo becomes Seo and css becomes Css, not SEO or CSS. If you need acronyms preserved, fix them by hand after copying.
What happens to numbers in the slug?
Numbers are kept as-is and count as words for the first and last rules. So 10-tips-for-seo becomes 10 Tips for Seo, with 10 treated as the first word and seo as the last.
Will it clean up ALL CAPS or MiXeD case?
Yes. Each word is lowercased and then given a single leading capital, so HELLO-WORLD becomes Hello World rather than staying shouted.
Can it turn a title back into a slug?
No, this tool only goes one direction, from slug to heading. To create a URL slug from a title you want the slugify tool, which lowercases text and joins words with hyphens.
Is there a limit on how much I can convert?
There is no fixed limit. Everything runs in your browser, so very long lists depend only on your device, and a handful of headings convert instantly.
Is my text uploaded anywhere?
No. The conversion happens entirely on your device in the browser. Nothing is sent to a server, logged or stored.
Learn more
- Title Case Rules Explained: How Slugs Become Headings
How this converter turns a slug into a heading: separators, capitalization, small words, file extensions and the edge cases that trip people up.
Related tools
Slugify
Turn any title into a clean, SEO-friendly URL slug. Lowercases, strips accents, swaps spaces and symbols for hyphens, and trims neatly. Free and private.
Title Case Converter
Convert any headline to proper title case. AP style lowercases small words like a, of and the, or capitalize every word. Free, instant and private.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Sentiment Analyzer
Analyze the sentiment of any text with AI in your browser. Paste a review or comment, get a positive or negative score plus a per-sentence breakdown.
AI Text Summarizer
Summarize any text with AI, right in your browser. Paste an article, pick a length, and get a short abstractive summary. Nothing is uploaded.