Skip to content
Toolcroft

Unslugify Tool - Convert Slugs to Human-Readable Text

Text Tools

Convert URL paths, slugs, and code identifiers into readable text with automatic separators, camelCase splitting, acronym preservation, and four output styles.

Quick examples

How to use this tool

  1. Paste text. Enter one slug, route path, or identifier per line. The tool processes this text in your browser without fetching URLs.
  2. Choose a separator. Select Auto-detect to split on the most frequent hyphen, underscore, dot, or space on each line, or choose a separator yourself. Slashes always divide path segments.
  3. Choose output case. Select Title Case, Sentence case, lowercase, or UPPERCASE. Title Case keeps recognized acronym tokens such as NASA, API, and HTML uppercase.
  4. Copy the result. Review the live output and click Copy output. The output keeps one line for each input line, including blank lines.

What does an unslugify tool do?

A slug is a compact label made from words separated by characters such as hyphens, underscores, dots, or spaces. Websites use slugs in page addresses, while developers often use related formats for field names, database columns, and configuration keys. This tool turns those compact names into text that is easier to scan in a report, spreadsheet, or admin screen.

The conversion treats each slash as a route-segment boundary, then splits the segment words using the selected separator. For example, /product-details/blue-widget-xl becomes Product Details Blue Widget Xl in the default Title Case. Slashes are removed from the result, and the tool only reads the text you paste; it does not open or fetch a URL.

It also recognizes identifier casing. A lowercase letter or digit followed by an uppercase letter begins a new word, and a boundary between an acronym and a regular word is detected as well. Thus myBlogPost becomes My Blog Post, parseHTMLContent becomes Parse HTML Content, and APIResponseV2 becomes API Response V2. In Title Case, recognized acronyms such as NASA, API, and HTML stay uppercase while regular words are capitalized normally, so NASA-REPORT becomes NASA Report.

Choose the separator and output case

Auto-detect counts hyphens, underscores, dots, and spaces across one input line, then selects that line's most frequent separator. It selects only one separator per line. If an input uses more than one kind, the other separator characters can remain inside words; for example, alpha-beta-gamma_delta becomes Alpha Beta Gamma_delta. Choose a specific separator when you know which convention the text uses. Slashes remain path boundaries in either mode.

The output case setting controls capitalization after words are found. Title Case capitalizes each regular word and keeps recognized acronym tokens such as HTML. Sentence case lowercases the result and capitalizes its first character. Lowercase and UPPERCASE change every letter to the selected case. These simple styles are useful for column headings, labels, and quick drafts; they do not apply editorial rules that keep small words such as "and" or "of" lowercase.

Convert a batch of paths or identifiers

Enter one item per line and each line is converted independently to one output line. Blank input lines stay blank, so copied lists keep their row alignment. Consecutive selected separators create empty words, which are skipped: --deprecated-- becomes Deprecated. CamelCase and acronym boundaries are handled inside the resulting words, so the same batch can include route slugs, underscore names, and programming identifiers.

This is useful when preparing a route inventory for a dashboard, turning database field names into spreadsheet headings, or reviewing keys generated by a content management system. For example, pasting /account/order-history yields the readable label Account Order History; pasting user_first_name yields User First Name. The tool converts the text locally in your browser, which keeps pasted internal names on your device.

Limitations to keep in mind

Auto-detect makes one separator choice for each line, rather than splitting on every punctuation mark at once. If a mixed-format line leaves a separator in the output, select its intended separator manually or clean that line before converting it. Dates are treated as ordinary number groups, so order-2025-01-15 becomes Order 2025 01 15. Title Case preserves a set of common acronyms, including NASA, API, and HTML. Other uppercase words are treated as regular words, and sentence and lowercase modes intentionally change acronym casing.

Convert readable text back to a slug

This page converts compact names into readable labels. To generate a URL slug from normal text, use the companion Slug Generator. That tool applies slug-specific rules such as lowercasing text, replacing spaces with a selected separator, and removing unsupported punctuation.

Frequently asked questions

How does Auto-detect choose a separator?

Auto-detect counts hyphens, underscores, dots, and spaces across each input line, then splits on the one that appears most often. It chooses only one word separator per line, so other separator characters may remain inside a word. Slashes are always treated as path boundaries.

Can I unslugify a route path without opening the URL?

Yes. Paste the path as text. Each slash-separated segment is processed in the browser and combined into one readable output line; the tool never fetches or opens the URL.

Does the tool split camelCase and preserve acronyms?

Yes. Lowercase-to-uppercase and acronym-to-word boundaries are split, so myBlogPost becomes My Blog Post and parseHTMLContent becomes Parse HTML Content. In Title Case, recognized acronyms such as NASA, API, and HTML stay uppercase, while regular words are capitalized normally; NASA-REPORT becomes NASA Report.

What happens to blank lines or consecutive separators?

Each input line produces one output line, including blank lines. Empty words from consecutive separators are removed, so --deprecated-- becomes Deprecated.

Browse all text tools