TapCub is live — analytics, insights and live chat, free on one platform

Free tool Case converter for text and code

Type once and get nine versions: four for writing (lowercase, UPPERCASE, Title Case, Sentence case) and five for code and data (snake_case, kebab-case, camelCase, PascalCase, CONSTANT_CASE). Paste a list and every line is converted on its own.

  • Nine formats at once
  • Line by line
  • Runs locally
Converter

Convert letter case and naming style

Every format below updates as you type. Use the copy button on the one you need.

A headline, a sentence, or identifiers such as userSignUp or ORDER_PAID_AMOUNT. One item per line for a batch.

lowercase
how to track a sign-up button
order paid amount

Every letter in lower case; spacing and punctuation unchanged.

UPPERCASE
HOW TO TRACK A SIGN-UP BUTTON
ORDER PAID AMOUNT

Every letter in capitals.

Title Case
How to Track a Sign-Up Button
Order Paid Amount

Each word capitalised except short words such as a, of, the, to (unless first).

Sentence case
How to track a sign-up button
Order paid amount

Lower case, with a capital at the start of each line and after . ! ?

snake_case
how_to_track_a_sign_up_button
order_paid_amount

Lower-case words joined by underscores.

kebab-case
how-to-track-a-sign-up-button
order-paid-amount

Lower-case words joined by hyphens.

camelCase
howToTrackASignUpButton
orderPaidAmount

First word lower case, the rest capitalised, no separators.

PascalCase
HowToTrackASignUpButton
OrderPaidAmount

Every word capitalised, no separators.

CONSTANT_CASE
HOW_TO_TRACK_A_SIGN_UP_BUTTON
ORDER_PAID_AMOUNT

Upper-case words joined by underscores.

Runs entirely in your browser. Nothing you type here is uploaded or stored by TapCub.

Version v1.0Updated Update history

Read the result

Two families of formats

The first four keep your words and spacing and only change capitals. The other five rebuild the text as a single identifier per line.

Writing cases

lowercase and UPPERCASE change every letter. Title Case capitalises each word but leaves short words (a, an, and, as, at, but, by, for, in, nor, of, on, or, per, the, to, vs, via) in lower case unless they come first. Sentence case lowers everything and capitalises the first letter of each line and after . ! or ?.

Code cases

snake_case, kebab-case, camelCase, PascalCase and CONSTANT_CASE first split the line into words, then join them with the format's separator and capitals. Punctuation and spaces disappear in the process.

Where words split

At spaces, punctuation, underscores and hyphens, and inside camelCase where a lower-case letter or digit meets a capital. Runs of capitals stay together: XMLHttpRequest becomes xml_http_request.

Line by line

Each line is converted separately, so a pasted column of names comes back as a column. Empty lines stay empty.

Title Case and Sentence case lower-case everything first. Acronyms and brand names such as SEO or iPhone need fixing by hand afterwards.

How to use it

Three common jobs

The same input box serves writers, marketers and developers.

  1. 1

    Fix a headline

    Paste a title typed in capitals or all lower case, then copy the Title Case or Sentence case version and correct any acronyms.

  2. 2

    Rename identifiers

    Paste variable, column or event names in one style and copy them in another, for example camelCase from an API into snake_case for a database.

  3. 3

    Clean a list

    Paste campaign names or tags one per line and copy the snake_case or kebab-case column so every value follows the same convention.

Formats

Nine formats side by side

All nine results for the example line "order paid amount", with where each style is usually found.

  • Code formats keep letters and digits only; sign-up and sign up both become two words
  • Apostrophes split words in code formats: don't becomes don_t
  • Letters without case, such as Chinese characters, are kept as they are
Output for "order paid amount"
FormatResultTypical use
lowercaseorder paid amountTags, UTM values, email addresses
UPPERCASEORDER PAID AMOUNTButtons, labels, short headings
Title CaseOrder Paid AmountHeadlines, page titles, menu items
Sentence caseOrder paid amountBody text, UI copy, subheadings
snake_caseorder_paid_amountPython, database columns, event names
kebab-caseorder-paid-amountURLs, CSS classes, file names
camelCaseorderPaidAmountJavaScript and Java variables, JSON keys
PascalCaseOrderPaidAmountClass and component names
CONSTANT_CASEORDER_PAID_AMOUNTConstants, environment variables
Worked example

Converting real identifiers

Names copied from code, a spreadsheet and a campaign plan, each run through the converter. The last two rows show where the rules need a human check.

Results produced by this tool
Inputsnake_casecamelCasekebab-case
userSignUpuser_sign_upuserSignUpuser-sign-up
ORDER_PAID_AMOUNTorder_paid_amountorderPaidAmountorder-paid-amount
Spring Sale 2026spring_sale_2026springSale2026spring-sale-2026
userIDuser_iduserIduser-id
iPhonei_phoneiPhonei-phone

userID comes back as userId, so a round trip does not always restore the original. Mixed-case words like iPhone, SaaS or TapCub are split where the capitals change; edit those by hand.

Common mistakes

Where case conversion goes wrong

The rules are predictable. Surprises come from words that do not follow them.

Lost acronyms in titles

Title Case turns SEO into Seo and TapCub into Tapcub. Read the result before publishing a headline.

Mixed-case words split apart

iPhone becomes i_phone and SaaS becomes saa_s in code formats, because a capital inside a word marks a new word.

Apostrophes in identifiers

don't becomes don_t or donTStop. Remove apostrophes from the input when you are naming variables or events.

Mixing styles in analytics names

Most analytics tools treat Sign_Up and sign_up as two different events or sources. Pick one style and convert everything to it.

FAQ

Case converter questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is Title Case?

A headline style where the main words start with a capital and short words such as a, of, the and to stay lower case, unless they are the first word. Style guides disagree on details, for example whether to capitalise longer prepositions, so check yours for formal publications.

What is the difference between camelCase, PascalCase and snake_case?

camelCase joins words with no separator and capitalises every word except the first (orderPaidAmount). PascalCase capitalises the first word too (OrderPaidAmount). snake_case keeps everything lower case and joins words with underscores (order_paid_amount).

Which case should I use for event names and UTM values?

Any single convention works, as long as everyone uses it. Lower-case snake_case is a common choice for event names and UTM values because it reads well and avoids case mismatches. See tracking plan for how teams document it.

How do I change case in Excel or Google Sheets?

Both have UPPER, LOWER and PROPER functions, for example =UPPER(A1). PROPER capitalises every word, including short ones like "of", and has no camelCase or snake_case equivalent, which is where this tool helps.

Can I convert many lines at once?

Yes. Paste one item per line and every format is produced line by line, so you can paste a spreadsheet column and paste the result straight back.

Why did my acronym change?

Title Case and Sentence case lower-case the text before adding capitals, and code formats split words where capitals change. Brand names and acronyms such as SEO, iPhone or userID need a manual check.

What happens to Chinese characters, accents and numbers?

Characters without case, such as Chinese, and digits are kept as they are and joined like any other word, so "Spring Sale 2026" becomes spring_sale_2026. Accented letters keep their accents and change case normally: café becomes CAFÉ. For URLs, the slug generator removes accents and turns Chinese into pinyin.

Is my text uploaded?

No. Conversion runs in your browser, the text is not added to the page address, and nothing is sent to TapCub.

Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Next step

Keep event names consistent from the start

Connect your site or app to TapCub and every event name is checked on arrival, with tools to merge and rename what slipped through.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics