To kebab-case
Convert text to kebab-case: lowercase separated by hyphens. Standard for friendly URLs (slugs), CSS files and HTML attributes.
—
URL slugs without accents or spaces
The headline is ready, São Paulo: Ação em 2024, and you still need the URL. Typing the slug by hand is where the accent that breaks the link when copied sneaks in, along with the space that turns into %20 and the capital letter that ends up creating two pages for the same content. Paste the title and you get sao-paulo-acao-2024, ready for the URL, the CSS file name or an HTML attribute.
The separator is the hyphen, which is what a URL expects: search engines read hyphens as word boundaries, underscores much less so. Word splitting strips accents by decomposition, drops punctuation and also breaks camelCase, so minhaPagina becomes minha-pagina and foo_bar becomes foo-bar. Symbols vanish instead of becoming words: Preço Unitário (R$) ends as preco-unitario-r, with that stray r left by the currency sign.
Review before publishing. The tool does not trim length or drop stop words, so a long title returns a long slug and the editing is up to you. A CSS class starting with a digit, like 2024-vendas, needs escaping to work in a selector. The box treats everything you paste as a single slug, line breaks included, so convert one title at a time. Processing happens in your browser and nothing is uploaded.
Frequently asked questions
Hyphen or underscore in a URL?
Does it shorten long slugs or remove stop words?
Is the output safe as a file name?
Related Tools
To snake_case
Convert any text to snake_case: all lowercase separated by underscores. Useful for Python variable names and DB columns.
Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase and snake_case. Instant result in the browser.
To camelCase
Convert text to camelCase: first word lowercase, rest with capitalized initial. Standard in JS/Java/TS.