Skip to main content

Text Tools

Case Converter

Convert text into common writing and developer casing styles.

Case Converter tool

Loading tool…

Jump to a section

About This Tool

Convert pasted text into common capitalization and identifier formats without manually retyping each word. The page produces writing-friendly variants such as lowercase, uppercase, title case, and sentence case alongside developer-friendly camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. It is useful for headings, labels, variable names, API fields, CSS classes, file names, slugs, and cleanup of inconsistently capitalized text.

How To Use It

  1. Paste or type the source text into the input box.
  2. Review the generated writing and developer case formats below the input.
  3. Choose the variant that matches the destination rather than assuming one casing convention fits every style guide or programming language.
  4. Copy the specific result you need, copy all results for comparison, or use Clear or Sample to reset the workspace.

Examples

Create code identifiers

Paste user profile image to compare userProfileImage, UserProfileImage, user_profile_image, user-profile-image, and USER_PROFILE_IMAGE before choosing the convention required by your codebase.

Normalize mixed capitalization

Paste text with inconsistent capitalization and use lowercase, uppercase, title case, or sentence case as a starting point. Review names, acronyms, and brand capitalization before publishing.

Prepare a URL-friendly phrase

Kebab-case can turn a phrase such as Summer Sale Guide into summer-sale-guide, but URL suitability still depends on your routing rules and whether punctuation or non-ASCII characters need special handling.

Useful Notes

How developer words are detected

Camel case, Pascal case, snake case, kebab case, and constant case are generated by splitting detected words on spaces, punctuation, hyphens, underscores, and common lowercase-to-uppercase boundaries. Unusual identifiers or language-specific text may need manual review.

Title case is not one universal standard

The generated title case capitalizes detected words. Editorial styles such as AP, APA, Chicago, and publication-specific rules can treat articles, conjunctions, prepositions, acronyms, and proper names differently, so use the result as a formatting aid rather than a style-guide authority.

Sentence case cannot infer every proper noun

Automatic sentence casing changes capitalization patterns but cannot reliably know that a word is a person's name, brand, acronym, product, or place. Review those terms after conversion when the text will be published.

Identifier conventions depend on context

camelCase is common for JavaScript variables, PascalCase for many component or type names, snake_case in some languages and data formats, and kebab-case in many URLs or CSS naming schemes. Follow the convention of the system receiving the text.

Local processing

The casing transformations run in your browser, so the text is not uploaded to Hanakash by this tool for conversion.

FAQ

What case formats are supported?

The tool outputs lowercase, uppercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.

Can I use this for file names or URLs?

Kebab-case and snake_case are often useful starting points, but valid file-name and URL rules vary by operating system, application, and router. Check reserved characters and any project-specific requirements.

Does title case follow AP, APA, or Chicago style?

No. The converter applies a general detected-word capitalization rule rather than the exception rules of a specific editorial style guide.

Will sentence case preserve names and acronyms?

Not reliably in every input. Automatic casing cannot infer all proper nouns, brands, and acronyms, so review those terms after conversion.

Does the tool upload my text?

No. The case transformations are performed locally in the browser by this tool.