bytekit

Case Converter

Convert text to UPPER CASE, lower case, Title Case or Sentence case, or turn names into camelCase, snake_case, kebab-case and other code styles. Everything runs in your browser.

  • Free
  • No sign-up
  • Runs in your browser

0 characters

Choose a case

JavaScript and Java variables.

Text is converted on your device as you type. Nothing is uploaded.

What it is for

Case is whether letters are capitals or small. This tool changes the case of ordinary text, such as a heading or a paragraph typed in caps lock, and also converts names between the styles programmers use, such as camelCase and snake_case.

  • Fix a paragraph that was typed with caps lock on.
  • Turn a heading into Title Case for a blog post, slide or email subject.
  • Rename a list of fields from snake_case database columns to camelCase JavaScript properties.
  • Make a URL slug, CSS class or file name in kebab-case.
  • Write environment variable names in CONSTANT_CASE.

How to use it

  1. Type or paste your text, or a list of names with one per line.
  2. Pick a case. Each button shows a preview of your text in that style.
  3. For code styles, choose whether each line becomes its own name or the whole text becomes one.
  4. Copy the result, or press Use as input to keep converting it.

Examples

Text to code styles

You enter

user profile settings getHTTPResponseCode

You get

camelCase: userProfileSettings getHttpResponseCode snake_case: user_profile_settings get_http_response_code kebab-case: user-profile-settings get-http-response-code

Each line is converted separately. Turn that off to join everything into one name.

Title Case

You enter

how to write a great blog post in 2026

You get

How to Write a Great Blog Post in 2026

Short words such as a, in, of and to stay small unless they come first or last.

Fix caps lock

You enter

THIS IS SHOUTING. PLEASE STOP!

You get

This is shouting. Please stop!

Sentence case. Names such as London will need their capital put back by hand.

Good to know

  • Every style shows a live preview of your first line, so you can compare them before you choose.
  • Code styles understand any input: Hello World, hello_world, hello-world and helloWorld all convert cleanly.
  • Acronyms are split sensibly, so getHTTPResponseCode becomes get_http_response_code.
  • Paste a list with one name per line to convert all of them at once.

Limits and disclaimers

  • Sentence case and lower case cannot know which words are names, so proper nouns such as Paris or iPhone lose their capitals.
  • Title Case follows common AP and Chicago rules for English. Style guides disagree on a few words, such as whether to capitalise with or from.
  • Code styles keep only letters and numbers. Punctuation, emoji and apostrophes are removed, so don't becomes dont.
  • Letters with accents are kept, but some programming languages do not allow them in names.

ByteKit is provided as is, for convenience. Check any result that matters before you use it in production, and keep passwords, keys and personal data out of any website you do not control.

Case styles at a glance

Every style this converter supports, with where you are most likely to see it.

StyleExampleUsed for
UPPER CASEHELLO WORLDEvery letter as a capital.
lower casehello worldEvery letter small.
Title CaseThe Lord of the RingsMain words capitalised, short words like of and the kept small.
Sentence caseHello world. How are you?A capital at the start of each sentence only.
camelCasehelloWorldJavaScript and Java variables.
PascalCaseHelloWorldClass names and React components.
snake_casehello_worldPython, Ruby and database columns.
CONSTANT_CASEHELLO_WORLDConstants and environment variables.
kebab-casehello-worldURLs, CSS classes and file names.
Train-CaseHello-WorldHTTP headers such as Content-Type.
dot.casehello.worldConfig keys and translation keys.
path/casehello/worldFolder paths and routes.
aLtErNaTiNghElLo WoRlDEvery other letter capitalised, for fun.
iNVERSE cASEhELLO wORLDSmall letters become capitals and capitals become small.

Related tools

Questions people ask

Is my text uploaded anywhere?

No. Text is converted in your browser as you type and never sent to a server.

What is the difference between camelCase and PascalCase?

Both join words without spaces and start each word with a capital. camelCase keeps the very first letter small (userName), while PascalCase capitalises it too (UserName). PascalCase is common for class and component names.

When should I use snake_case or kebab-case?

snake_case is the norm for Python variables, Ruby and database columns. kebab-case is used in URLs, CSS class names and file names, because many languages do not allow a hyphen in variable names.

What is CONSTANT_CASE?

Also called SCREAMING_SNAKE_CASE, it is snake_case in capitals. It is used for constants and environment variables, such as API_KEY or MAX_RETRY_COUNT.

How are acronyms handled?

A run of capitals is treated as one word, so XMLHttpRequest splits into XML, Http and Request. In camelCase and PascalCase acronyms become Xml and Http, which most style guides, including Google's, recommend.