Menu

Menu

حوّل snake case إلى kebab case عبر الإنترنت

Snake Case to Kebab Case converter

Searching for a Snake Case to Kebab Case converter usually means you have messy text and need a dependable Kebab Case version fast. Paste anything in the box above—sentences, product names, or variable fragments—and the result updates live. As a quick check, “Hello World Example” becomes “hello-world-example”.

How this conversion works

Words are lowercase and separated by hyphens (-).

Often used in HTML attributes, CSS classes, and route slugs. Teams often land here from Snake Case searches when they already have a draft string and want reliable Kebab Case output.

Worked example

Suppose you are cleaning up copy before publish:

  • Paste: Hello World Example
  • Choose Kebab Case as the output style.
  • Second try: “Quick-Brown Fox” → “quick-brown-fox”.
You get: hello-world-example — ready to copy into your doc, CMS, or codebase.

حول الوحدات

Snake Case

snake_case identifiers such as user_profile_id.

Helpful reference when your source string already looks like Snake Case.

Kebab Case

Produces kebab-case tokens that work in URLs and CSS.

This page outputs Kebab Case so you can paste into docs, UI, or repositories.

When teams use this

  • Normalize variable or file names when moving between languages and style guides.
  • Fix accidental caps lock in customer-facing headings before go-live.
  • Prepare slug-friendly strings for URLs, anchors, and design tokens.
  • Compare how a phrase looks in Snake Case versus Kebab Case before picking a convention.

الأسئلة الشائعة

Underscore to hyphen for URLs?

`spring_sale` → `spring-sale`—one of the most direct snake → kebab paths.

npm package from snake repo?

Repos often use snake; published package names frequently use kebab.

CSS from Sass variables?

`$primary_color` style tokens sometimes become `primary-color` classes.

Already hyphenated?

If input uses `-`, they stay; snake input with `_` is the typical case here.

الخلاصة

Use this Snake Case to Kebab Case page when you want fast, readable Kebab Case text without a spreadsheet formula or manual retyping. Bookmark it for the next time design, marketing, or engineering needs the same casing call.