الترميز كـ Kebab case

يُشفّر الإدخال باستخدام “الترميز كـ Kebab case” وفقًا للمعيار المقابل.

المدخلات: نصالنتيجة: نص

إدخال نصي

خيارات الأداة

أمثلة

Make a CSS custom-property name from a design token

The result can be prefixed with -- when used as a CSS custom property.

المدخلات

PrimaryAccentColor

Expected answer

primary-accent-color
محاولة الوعي بالسياق
Off
Turn an acronym-bearing document title into a slug

Acronyms become lowercase words separated by hyphens.

المدخلات

JSON API Reference

Expected answer

json-api-reference
محاولة الوعي بالسياق
Off
Normalize repeated separators in a release label

Repeated spaces, underscores and hyphens become single boundaries.

المدخلات

  Release__Notes---2026  

Expected answer

release-notes-2026
محاولة الوعي بالسياق
Off
Convert an accented article title into an ASCII slug

Accent removal is useful for this slug; it does not preserve the original spelling.

المدخلات

Crème brûlée recipe

Expected answer

creme-brulee-recipe
محاولة الوعي بالسياق
Off
Transform separate tokens while retaining a quoted label

The output is a text transformation, not automatically valid source code.

المدخلات

backgroundColor: "Keep_This"; fontSize: 16;

Expected answer

background-color: "Keep_This"; font-size: 16;
محاولة الوعي بالسياق
On
To Kebab case (dumb)

المدخلات

hello world

Expected answer

hello-world
محاولة الوعي بالسياق
Off
To Kebab case (smart)

المدخلات

test='hello'
echo $test
aKebabCaseFunction
$aKebabCaseVariable;
function functionName() {
  console.log('things inside quotes do not get broken');
  console.log("things inside quotes do not get broken");
}

Expected answer

test='hello'
echo $test
a-kebab-case-function
$a-kebab-case-variable;
function function-name() {
  console.log('things inside quotes do not get broken');
  console.log("things inside quotes do not get broken");
}
محاولة الوعي بالسياق
On

المعاملات

المعاملالقيمة الافتراضيةالمدخلات والخيارات
محاولة الوعي بالسياقfalseتشغيل أو إيقاف

أدوات ذات صلة

تنسيق الشفرة

مرجع العملية

عرض الوثائق التقنية الأصلية (English)