ToolNimba

๐Ÿ”ก Case Converter: Change Text to Uppercase, Lowercase and More

Shihab Mia By Shihab Mia ยท Updated 2026-06-28

Pick a case to convert your text.

This case converter takes any text you paste in and rewrites it in the capitalisation style you choose. Switch between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case with a single click, then copy the result. Everything runs in your browser, so your text never leaves your device.

What is the Case Converter?

Letter case is the difference between capital letters (A, B, C) and small letters (a, b, c). Most writing mixes the two by convention: a sentence starts with a capital, proper nouns are capitalised, and the rest is lowercase. A case converter automates the tedious job of changing that convention across a whole block of text, which is far faster and more reliable than retyping or holding Shift while you fix each word by hand. Whether you are cleaning up a headline that arrived in ALL CAPS or building a tidy variable name from a label, the right case style takes one click instead of dozens of keystrokes.

The styles fall into two broad groups. Reading styles are meant for human text: UPPERCASE shouts and works for short acronyms or legal notices, lowercase is quiet and informal, Title Case suits headings and headlines, and Sentence case is the normal flow of prose with only the first word and proper nouns capitalised. Programmer styles join words together without spaces because most languages do not allow spaces in identifiers: camelCase (firstNameField), snake_case (first_name_field), and kebab-case (first-name-field) are the three you meet most often in code, file names, URLs, and database columns. A good case converter handles both groups so a writer and a developer can use the same tool.

Under the hood, converting between these styles means deciding where one word ends and the next begins. For spaced text that is easy. For programmer styles the converter also has to split existing camelCase boundaries (the capital M in fileName marks a new word) and treat punctuation, spaces, hyphens, and underscores as separators. Once the words are identified, each style simply rejoins them with its own rule: a separator character for snake and kebab, capitalised first letters with no gaps for camel and Pascal, or a single leading capital for Sentence case. This tokenise-then-rejoin approach is why a clean case converter can round-trip text between any two styles without losing the word boundaries.

Title Case deserves a special note because it is the style most people get wrong. Publishers follow style guides such as AP, Chicago, MLA, and APA, and these guides disagree on the small words. The shared rule is that the first and last words are always capitalised, along with all major words: nouns, pronouns, verbs, adjectives, and adverbs. The disagreement is about articles, conjunctions, and prepositions. AP style capitalises any word of four letters or more, so it writes With and From with capitals. Chicago and MLA lowercase prepositions regardless of length and lowercase the articles a, an, and the. A simple case converter capitalises the first letter of every word, which is fast and consistent but not always strictly correct, so proofread headlines if your publication enforces a specific guide.

Beyond the seven core styles, the wider family of text case transforms includes PascalCase (every word capitalised with no spaces, used for class names), CONSTANT_CASE or screaming snake case (uppercase words joined by underscores, used for constants and environment variables), dot.case for nested keys, Train-Case for some HTTP headers, plus playful options like aLtErNaTiNg case and tOGGLE case that flip each letter. Knowing which transform a given context expects saves real debugging time: a JSON key in the wrong case, a CSS class that should be kebab-case, or an environment variable that should be CONSTANT_CASE will silently fail rather than throw an obvious error.

Because this case converter runs entirely in your browser with plain JavaScript, there is no upload, no account, and no limit on how often you convert. That makes it safe for confidential drafts, internal documentation, and code you cannot paste into a remote service. Use it to standardise a spreadsheet column, normalise messy data exported from a PDF, generate consistent file names, or simply rescue a heading that someone typed with Caps Lock on.

When to use it

  • Fixing a heading or title that was typed in all caps or all lowercase so it reads as proper Title Case.
  • Turning a label like "First Name" into a code-friendly variable such as firstName, first_name, or first-name.
  • Cleaning up text pasted from a spreadsheet or PDF where the capitalisation came out wrong.
  • Creating a URL slug or file name from a page title by converting it to kebab-case.
  • Normalising a column of names or product titles so every row uses the same capitalisation before importing it.
  • Converting a database column name between snake_case and camelCase when moving data between a backend and a frontend.

How to use the Case Converter

  1. Type or paste your text into the input box.
  2. Click the case you want: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, or kebab-case.
  3. Read the converted text in the result box below.
  4. Click Copy to send the result to your clipboard, then paste it wherever you need it.
  5. Need a different style? Click another button on the same text, or clear the box and paste fresh text.

Formula & method

UPPERCASE = every letter capital.   lowercase = every letter small.   Title Case = first letter of each word capital.   Sentence case = first letter after . ! ? capital.   camelCase / snake_case / kebab-case = words joined with no space / underscores / hyphens.
Case ConverterType once, switch capitalisation with one clickInput:hello world exampleREADING STYLESUPPERCASEHELLO WORLD EXAMPLElowercasehello world exampleTitle CaseHello World ExampleSentence caseHello world exampleCODE STYLEScamelCasehelloWorldExamplesnake_casehello_world_examplekebab-casehello-world-exampleCONSTANT_CASEHELLO_WORLD_EXAMPLERuns fully in your browser. Nothing is uploaded.Paste to text, click a style, copy the result

Worked examples

You have the heading "the QUICK brown Fox" and want a clean title.

  1. Paste "the QUICK brown Fox" into the input.
  2. Click Title Case.
  3. Each word gets one capital letter and the rest lowercase.

Result: The Quick Brown Fox

You want a variable name from the label "User Email Address".

  1. Paste "User Email Address" into the input.
  2. Click camelCase.
  3. The words are joined, the first stays lowercase, and each later word is capitalised.

Result: userEmailAddress

You need a URL slug from the title "My First Blog Post".

  1. Paste "My First Blog Post" into the input.
  2. Click kebab-case.
  3. The words are lowercased and joined with hyphens.

Result: my-first-blog-post

How each case style rewrites the phrase "Hello World Example"

Case styleResultTypical use
UPPERCASEHELLO WORLD EXAMPLEEmphasis, acronyms, legal notices
lowercasehello world exampleCasual text, tags, some brand styling
Title CaseHello World ExampleHeadings, titles, headlines
Sentence caseHello world exampleNormal prose and body text
camelCasehelloWorldExampleVariables and functions in JavaScript, Java
snake_casehello_world_exampleVariables in Python, database columns
kebab-casehello-world-exampleURL slugs, CSS classes, file names

Programmer case styles and where each one belongs

StyleExampleCommon home
camelCasemaxRetryCountJavaScript and Java variables, JSON keys
PascalCaseMaxRetryCountClass and type names, React components
snake_casemax_retry_countPython, Ruby, SQL columns
CONSTANT_CASEMAX_RETRY_COUNTConstants and environment variables
kebab-casemax-retry-countURL slugs, CSS classes, file names
dot.casemax.retry.countConfig keys and namespaced settings

Title case: which small words to capitalise by style guide

Word groupAP styleChicago and MLA
First and last wordAlways capitalAlways capital
Nouns, verbs, adjectives, adverbsCapitalCapital
Articles (a, an, the)lowercaselowercase
Prepositions of 4+ lettersCapitallowercase
Short prepositions (in, on, at)lowercaselowercase
Conjunctions (and, but, or)lowercaselowercase

Common mistakes to avoid

  • Confusing Title Case with capitalising every letter. Title Case capitalises only the first letter of each word (Hello World). Putting every letter in capitals is UPPERCASE (HELLO WORLD), which reads as shouting and is harder to scan.
  • Expecting Title Case to skip small words automatically. Strict editorial title case leaves short words like "and", "of", or "the" lowercase, but the exact list differs between AP, Chicago, and MLA. This tool capitalises the first letter of every word, so always proofread a headline if you follow a specific style guide.
  • Using spaces in code names. Programming languages do not allow spaces inside variable or file names. That is the whole reason camelCase, snake_case, and kebab-case exist, so pick one of those rather than leaving spaces in.
  • Mixing snake_case and kebab-case in code. Underscores and hyphens are not interchangeable. Many languages treat a hyphen as a minus sign, so kebab-case is usually safe only in URLs, CSS, and file names, not in variable names.
  • Forgetting that UPPERCASE destroys original casing. Converting to UPPERCASE or lowercase is one-way: once "iPhone" becomes "IPHONE" or "iphone", the tool cannot guess the original mixed case back. Keep a copy of the source text if you might need it.
  • Capitalising acronyms as words in Title Case. A simple Title Case pass turns "NASA report" into "Nasa Report". For text with acronyms, convert first and then fix the acronyms by hand, since the tool treats every word the same way.

Glossary

Letter case
Whether a letter is written as a capital (uppercase) or small (lowercase) form, such as A versus a.
Title Case
A style where the first letter of each word is capitalised, commonly used for headings and titles.
Sentence case
Normal prose capitalisation: only the first word of a sentence and proper nouns start with a capital letter.
camelCase
A naming style where words are joined with no spaces, the first word is lowercase, and each later word starts with a capital, like firstName.
PascalCase
Like camelCase but the first word is also capitalised, like FirstName. Often used for class and type names.
snake_case
A naming style where lowercase words are joined by underscores, like first_name.
kebab-case
A naming style where lowercase words are joined by hyphens, like first-name, common in URLs and CSS.
CONSTANT_CASE
Uppercase words joined by underscores, like MAX_RETRIES. Also called screaming snake case and used for constants and environment variables.

Frequently asked questions

What is a case converter?

A case converter is a tool that changes the capitalisation of text. You paste in your words and it rewrites them as UPPERCASE, lowercase, Title Case, Sentence case, or a code style like camelCase, snake_case, or kebab-case. It saves you from retyping or holding Shift to fix each word by hand.

How do I change text from uppercase to lowercase?

Paste the text into the box and click the lowercase button. Every letter is converted to its small form instantly, and you can then copy the result with the Copy button. This is the fastest way to fix text typed with Caps Lock on.

What is the difference between Title Case and Sentence case?

Title Case capitalises the first letter of every word (My First Post), which suits headings. Sentence case capitalises only the first word of each sentence and any proper nouns (My first post), which is how normal body text is written.

How do I convert text to Title Case correctly?

Paste your text and click Title Case to capitalise the first letter of each word. For strict editorial Title Case, note that style guides like AP and Chicago keep small words such as articles and short prepositions lowercase, so proofread the result against your guide if accuracy matters.

What is camelCase used for?

camelCase joins words with no spaces and capitalises each word after the first, like userName. It is the standard naming style for variables and functions in languages such as JavaScript and Java, and for keys in JSON.

What is the difference between snake_case and kebab-case?

snake_case uses underscores (first_name) and kebab-case uses hyphens (first-name). Underscores are safe in most variable names, while hyphens are mainly used in URLs, CSS class names, and file names because many languages read a hyphen as a minus sign.

How do I make a URL slug from a title?

Paste your page title and click kebab-case. The tool lowercases the words and joins them with hyphens, turning "My First Blog Post" into "my-first-blog-post", which is the standard format for clean, readable URL slugs.

Can I convert text without losing my original capitalisation?

Reading styles like Title Case and Sentence case can usually be reversed, but UPPERCASE and lowercase are one-way because the original mixed case cannot be guessed back. Keep a copy of your source text before converting if you might need the original.

Does this case converter work on phones and offline?

Yes. The tool is plain JavaScript that runs in any modern browser on desktop or mobile, and once the page has loaded it keeps working even without an internet connection because no server is involved.

Does this tool send my text anywhere?

No. All conversion happens in your browser using plain JavaScript. Your text is never uploaded, stored, or sent to a server, so it is safe to use with private, confidential, or sensitive content.