حالة الأحرف

تحويل النص إلى أحرف كبيرة، صغيرة، حالة عنوان، والمزيد.

محول حالة الأحرف المجاني عبر الإنترنت

يعد تحويل حالة الأحرف أحد أكثر تحويلات النصوص شيوعًا في تطوير البرمجيات. سواء كنت بحاجة إلى camelCase لمتغيرات JavaScript، أو snake_case لـ Python، أو Title Case للعناوين، فإن أداة حالة الأحرف من دوكال تتعامل معها على الفور في متصفحك.

الصق أو اكتب أي نص وقم بالتبديل بين الأحرف الكبيرة، الصغيرة، حالة العنوان، حالة الجملة، camelCase، PascalCase، snake_case، و kebab-case بنقرة واحدة. تتم جميع المعالجات محليًا - لا يغادر النص جهازك أبدًا.

Frequently Asked Questions

What is camelCase?
camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word, with no spaces or separators. Example: myVariableName. It is the standard naming convention for variables and functions in JavaScript, Java, and TypeScript.
What is the difference between snake_case and kebab-case?
Both use lowercase words separated by a delimiter. snake_case uses underscores (my_variable_name) and is common in Python, Ruby, and database column names. kebab-case uses hyphens (my-variable-name) and is standard for CSS class names, HTML attributes, and URL slugs.
When should I use PascalCase?
PascalCase capitalizes the first letter of every word with no separators (MyClassName). Use it for class names, React component names, type definitions, and enum values in most programming languages.
What is title case vs sentence case?
Title case capitalizes the first letter of each major word (The Quick Brown Fox). Sentence case capitalizes only the first word and proper nouns (The quick brown fox). Title case is used for headings; sentence case is used for body text and UI labels.
Does this tool change the actual words?
No. Case conversion only changes letter casing and word separators. The words themselves stay the same. myVariable becomes my_variable in snake_case, not a different word.