String to camelCase Converter

Convert any string to camelCase in one click. Paste multiple lines and get clean camelCase output instantly — no server, no signup.

Strings to convert

Enter one string per line. Each line is converted to camelCase independently.

Accepts spaces, hyphens, underscores, PascalCase, and SCREAMING_SNAKE_CASE. Everything runs locally in your browser — nothing is uploaded.

camelCase outputOne camelCase result per input line.

0 lines in0 lines outN/A runtime

Typical inputs process in under 1ms on modern browsers.

How to convert strings to camelCase

Convert in 3 steps

Takes ~5 seconds
  1. 1
    Paste your strings

    Enter one string per line in the input box — any format works.

  2. 2
    Click Convert

    Click "Convert to camelCase" to process all lines instantly.

  3. 3
    Copy the output

    Copy the camelCase results and paste them into your code or document.

Each line is converted independently, so blank lines produce blank output lines and line order is always preserved.

Who should use this tool?

  • Developers renaming variables, functions, or JSON keys to camelCase
  • Data engineers transforming column names or field identifiers in bulk
  • API designers standardizing property names across schema definitions

Examples

Plain words separated by spaces become camelCase.

Input
hello world
Output
helloWorld

PascalCase is split at case transitions and re-cased.

Input
MyVariableName
Output
myVariableName

SCREAMING_SNAKE_CASE is lowercased and recombined.

Input
SCREAMING_SNAKE_CASE
Output
screamingSnakeCase

About String to camelCase conversion

camelCase is the standard naming convention for variables and functions in JavaScript, Java, Swift, and many other languages. This tool handles every common input format — including strings that are already partially camelCase or PascalCase — so you never need to manually reformat identifiers.

This string to camelCase converter splits input on whitespace, hyphens, underscores, and uppercase letter transitions, then joins the resulting words with the first word fully lowercased and each subsequent word capitalized. It correctly handles PascalCase, SCREAMING_SNAKE_CASE, kebab-case, and plain sentences. Process multiple strings at once with one camelCase result per input line, all locally in your browser.

Smart splitting

Splits on spaces, hyphens, underscores, and case transitions — no matter the input format.

  • Handles PascalCase input
  • Handles SCREAMING_SNAKE_CASE
  • Handles mixed delimiters
Bulk conversion

Process dozens of strings at once — one camelCase result per line, always.

  • Multi-line input
  • 1-to-1 line mapping
  • Blank lines preserved
Private by default

All conversion happens locally in your browser. Nothing leaves your device.

  • No data uploaded
  • No signup needed
  • Works offline
Privacy first: we never send your input to a server. Everything runs locally in your browser.

camelCase conversion tips

Get clean, consistent camelCase output every time.

  • Remove leading/trailing whitespace from your input before pasting to avoid unexpected word boundaries.
  • Use one line per identifier when batch-converting — the tool maps output 1-to-1 with input lines.
  • Digits within a word pass through unchanged; check that numeric segments land in the position you expect.

Frequently asked questions

How does this handle already-camelCase input like 'myVariableName'?>
The converter detects transitions from a lowercase letter or digit to an uppercase letter and splits there. So 'myVariableName' becomes the words 'my', 'Variable', 'Name' and is reassembled as 'myVariableName' — the same result, correctly re-cased.
What happens to consecutive delimiters like double hyphens or double underscores?>
Consecutive delimiters collapse into a single word boundary. 'a--b' and 'a__b' both produce just two words, so no empty segments appear in the output.
Can I convert SCREAMING_SNAKE_CASE variable names to camelCase?>
Yes. Underscores are treated as word boundaries, and each word is fully lowercased before recapitalization. 'MAX_RETRY_COUNT' becomes 'maxRetryCount'.
Does the tool skip blank lines in my input?>
No — blank lines are preserved. A blank input line always produces a blank output line, so your line count stays the same and you can safely paste multi-line lists without losing position.

Related String tools

Add Brackets Around String

Wrap each line of text in square brackets. Paste a list and get bracketed output instantly. Works fast in your browser.

Add Double Quotes Around String

Wrap each line of text in double quotes. Paste a list and get quoted output instantly. Use it in your browser for quick, copy-ready results.

Add Line Numbers to Text

Add line numbers to each line of text with selectable separators. Choose no separator, a period, or a closing parenthesis.

Add Line Prefix to Text

Add a custom prefix to every line in your text. Enter a prefix once and apply it to all lines instantly. In your browser.

Add Line Suffix to Text

Add a custom suffix to every line in your text. Enter a suffix once and apply it to all lines instantly. In your browser.

Add Parentheses Around String

Wrap each line of text in parentheses. Paste a list and get parenthesized output instantly. Works fast in your browser.

Add Single Quotes Around String

Wrap each line of text in single quotes. Paste a list and get quoted output instantly. Use it in your browser for quick, copy-ready results.

Average Sentence Length Calculator

Calculate average sentence length instantly. Paste text and get the mean words per sentence in one click. In your browser.

Average Word Length Calculator

Calculate average word length instantly. Paste text and get the mean characters per word in one click. In your browser.

Byte Count Calculator

Calculate the total UTF-8 byte size of your text instantly. Paste content and get an exact byte count in one click.

Convert Four Spaces to Tab

Replace every group of four spaces with a tab character instantly. Paste any indented code or text and convert spacing in your browser.

Convert Tab to Four Spaces

Replace tab characters with four spaces. Clean up pasted text and align indentation instantly. Works fast in your browser.

Convert Tab to Single Space

Replace tab characters with a single space. Clean up pasted text instantly. Use it in your browser for quick, copy-ready results.

Count Lines in String

Count the number of lines in a text block. Paste your text and get the line count instantly. Works fast in your browser.

Empty Line Remover

Remove empty lines from text. Paste your text and get a cleaner block instantly. Use it in your browser for quick, copy-ready results.

Estimated Reading Time Calculator

Estimate how long text will take to read. Set words per minute and get instant reading time. Works fast in your browser.

Find Longest Line of Text

Find the longest line in a text block. Paste your text and get the longest line instantly. Works fast in your browser.

Find Shortest Line of Text

Find the shortest line in a text block. Paste your text and get the shortest line instantly. Works fast in your browser.

Firstname.Lastname to Last, First

Convert dot-separated names like john.doe into Last, First format with proper Title Case. Paste a list and get results instantly.

Numbers to Dollars

Prepend a dollar sign to each line of numbers. Format currency values instantly. Use it in your browser for quick, copy-ready results.

Paragraph Count Calculator

Count the total number of paragraphs in your text instantly. Paste content and get an exact paragraph count in one click.

Remove Dollar Signs from Numbers

Strip dollar signs from currency values. Paste your list and get clean numbers instantly. Use it in your browser for quick, copy-ready results.

Remove Repetitive Spaces

Collapse multiple spaces into a single space. Clean up pasted text instantly. Use it in your browser for quick, copy-ready results.

Sentence Count Calculator

Count the total number of sentences in your text instantly. Paste content and get an exact sentence count in one click.

String to Lowercase

Convert text to lowercase instantly. Paste your text and get lowercase output in seconds. Use it in your browser for quick, copy-ready results.

String to Uppercase

Convert text to uppercase instantly. Paste your text and get uppercase output in seconds. Use it in your browser for quick, copy-ready results.

Text Case Inverter

Invert the case of every letter. Lowercase becomes uppercase and uppercase becomes lowercase. Works fast in your browser.

Text Length Calculator

Calculate the total character length of your text instantly. Paste any text and get an exact count in one click.

Text Reverser

Reverse text line by line. Paste your content and get reversed output instantly. Use it in your browser for quick, copy-ready results.

AI Token Count Calculator

Estimate AI token count instantly from your text input. Paste content and get a quick token estimate for prompt planning.

Truncate Lines by Character Count

Trim each line to a maximum character length. Set a line length count and truncate all lines instantly. In your browser.

Truncate Lines by Word Count

Trim each line to a maximum number of words. Set a word count and truncate all lines instantly. Works fast in your browser.

Unique Word Count Calculator

Count unique words in your text instantly. Paste content and get an exact unique word total in one click. In your browser.

Word Count Calculator

Count the total number of words in your text instantly. Paste any content and get an exact word count in one click.