🎉 Welcome to RiazHub! High-Performance Digital Utilities Directory Explore Tools ➔
Back to Directory

The Universal Kebab Case Converter & Web Slug Naming Suite by RiazHub is a fast, 100% client-side developer utility designed to transform plain text, multi-line lists, and programming variables into SEO-friendly kebab-case, clean URL slugs, CSS class selectors (.class-name), W3C-compliant Web Component tags (<custom-tag></custom-tag>), and HTTP header TRAIN-CASE (SCREAMING-KEBAB-CASE) in real time.

Engineered with an intelligent boundary-disambiguation tokenizer, it automatically handles camelCase, PascalCase, mixed underscores/slashes, consecutive acronyms (such as parseJSONPayload ➔ parse-json-payload), and Unicode diacritic stripping (such as crème brûlée ➔ creme-brulee). Featuring a live 4-card metric grid (Words, Characters, Hyphens Inserted, Total Lines), 1-click preset profiles, bulk line-by-line processing, deduplication, drag-and-drop text file uploading, and instant copy/export capabilities, it delivers zero-latency string formatting entirely inside your browser with complete privacy.

RiazHub Developer Utilities

Universal Kebab Case Converter & Web Slug Suite

Convert text, variable names, and multi-line strings into clean kebab-case, CSS class names, URL slugs, and TRAIN-CASE in real time.

Quick Preset Profiles
0 Words Detected
0 Characters Count
0 Hyphens Inserted
0 Total Lines

Source Input Text

Drop Text or Code File to Convert

Kebab-Case Engine Rules

Primary Output
kebab-case Canvas (Live Stream)
riaz-hub-online-tools
Developer Naming Conventions & Slugs Instant Multi-Format Cards
TRAIN-CASE HTTP Headers, COBOL
RIAZ-HUB-ONLINE-TOOLS
SCREAMING-KEBAB-CASE
Title-Kebab-Case Markdown, Headings
Riaz-Hub-Online-Tools
Capitalized-Dash-Case
CSS Class Selector Stylesheets, Tailwind
.riaz-hub-online-tools
BEM & CSS rules
Web Component Tag Custom Elements, Vue
<riaz-hub-online-tools></riaz-hub-online-tools>
W3C Compliant Tag
snake_case Python, SQL, Rust
riaz_hub_online_tools
Under-scored identifiers
camelCase JS, TypeScript, Java
riazHubOnlineTools
Standard variables
PascalCase React, C#, OOP Classes
RiazHubOnlineTools
Classes & Components
URL Permalink REST Routes & SEO Slugs
https://riazhub.com/riaz-hub-online-tools/
Clean web slug URL

Developer Guide & Web Naming Standards

kebab-case (also known as dash-case or lisp-case) separates words with hyphens (-). Because CSS class selectors and HTML attributes are case-insensitive in HTML5 standards, using hyphens eliminates ambiguity and prevents unexpected casing bugs across different browsers and web parsers.

Search engines (such as Google and Bing) treat hyphens as natural word separators in URLs, whereas underscores (_) are often treated as joined characters. Therefore, kebab-case is the gold standard for SEO-optimized permalinks.

kebab-case: All lowercase words separated by hyphens (e.g., user-profile-settings). Used in CSS, HTML attributes, CLI flags, and REST APIs.

TRAIN-CASE (or SCREAMING-KEBAB-CASE): All uppercase words joined with hyphens (e.g., CONTENT-TYPE, X-REQUEST-ID). Commonly found in HTTP headers, COBOL, Fortran, and strict protocol specifications.

Lisp-case: Functionally identical to kebab-case, historically rooted in the Lisp programming language family (Scheme, Clojure, Common Lisp) where hyphens are valid identifier characters.

Under the W3C Web Components standard, any custom element tag name must contain at least one hyphen (-) (e.g., <app-modal>, <user-avatar-card>). This rule ensures that user-defined components never clash with future native HTML tags added by the WHATWG/W3C specifications.

All tokenization, regex splitting, Unicode accent removal, and casing conversions happen 100% locally inside your web browser using modern ES6+ JavaScript. No text, variable names, secret keys, or uploaded files are ever sent to our servers or third parties.

🌐 Visitor Statistics
0
Today
0
This Month
0
Previous Month
0
Total Visits