DockittDockitt

Text Case Converter — UPPERCASE, lowercase, camelCase & More

Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more. Free, instant.

Runs entirely in your browser — no data leaves your device
No account, no signup, completely free
Instant results — no waiting for server processing
Works offline once the page is loaded
Runs entirely in your browser. Your text never leaves your device — no server, complete privacy.

Changing the case of text is a frequent task for developers, writers, and content creators. This tool converts text between 8 different case styles instantly: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case. Each conversion is one click — no button press required after selecting the style. The result can be copied to clipboard instantly.

How to use

  1. Paste or type your text into the input textarea.
  2. Click any of the conversion buttons (UPPERCASE, camelCase, etc.).
  3. The converted text appears in the output area. Click 'Copy' to copy it to clipboard.

FAQ

What case styles are supported?

The tool supports 8 case styles: UPPERCASE (all letters capitalised), lowercase (all letters in lower case), Title Case (first letter of each word capitalised), Sentence case (only the first letter of the first word capitalised), camelCase (first word lowercase, subsequent words capitalised, no spaces), PascalCase (all words capitalised, no spaces), snake_case (all lowercase, spaces replaced with underscores), and kebab-case (all lowercase, spaces replaced with hyphens).

How does Title Case handle small words?

This tool uses a simple Title Case implementation that capitalises the first letter of every word including small words like 'a', 'an', 'the', 'in', 'of'. For a typographically correct Title Case that follows the Chicago Manual of Style rules (which leaves prepositions and articles in lowercase unless they start the title), the simple implementation used here may not be sufficient — a dedicated text editing tool would handle those nuances.

How does camelCase handle punctuation?

For camelCase and PascalCase conversions, the input text is split on whitespace and most non-alphanumeric characters (hyphens, underscores, punctuation). Each resulting word is capitalised (or left lowercase for the first word in camelCase) and the words are joined without spaces. Numbers are preserved in place.

What does snake_case do with existing punctuation?

For snake_case and kebab-case, the text is first converted to lowercase. All whitespace and common separator characters (hyphens, underscores) are replaced with a single underscore or hyphen respectively. Other punctuation is removed. This makes the output suitable for use as a variable name or URL slug.

Can I convert code identifiers?

Yes. The case converter works well for converting between programming naming conventions — for example, from PascalCase (class names in C#) to snake_case (variable names in Python) or kebab-case (CSS class names). Paste the identifier, click the target convention, and copy the result.

Is there a length limit for the input?

There is no practical limit. All conversions are pure JavaScript string operations that run in under a millisecond for typical inputs. Very long texts (millions of characters) will still convert quickly, though the textarea may be slow to render at such sizes.