The cases
- Title Case — for headlines: capitalises words except short ones like a, and, of, the, to (unless first or last). Words that already have capitals inside — iPhone, NASA, McDonald — are left alone.
- Sentence case — lower case with a capital at the start of each sentence. Useful for text typed with Caps Lock on. Proper nouns can't be detected, so check names afterwards.
- camelCase / PascalCase — JavaScript and Java variables / class names.
- snake_case / CONSTANT_CASE — Python, Ruby and SQL names / constants and environment variables.
- kebab-case — URLs, CSS classes and file names. Train-Case — HTTP headers. dot.case — config keys. path/case — folders.
Converting identifiers
For programming cases the text is first split into words at spaces, punctuation and capital letters, and acronyms are recognised:
XMLHttpRequest becomes xml_http_request, and user ID v2 becomes userIdV2. Each line is converted separately,
so a column of names copied from a spreadsheet or schema converts in one go.
Is my data uploaded?
No. Conversion runs in your browser, so nothing you add is sent to gratistools.be. See the privacy page for details.