camelCase converter

Turn words, phrases and other naming styles into camelCase or PascalCase, the usual choice for variable and function names.

Style

How it works

  1. Paste your text

    Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.

  2. Instant result

    The result appears as you type. Change the options and see straight away what changes.

  3. Copy or download

    Copy the result with one click, save it as a file or use it as input for a next step.

Examples

| Input | camelCase | PascalCase | |---|---|---| | customer name | customerName | CustomerName | | Invoice Date | invoiceDate | InvoiceDate | | vat_rate | vatRate | VatRate | | total-amount incl vat | totalAmountInclVat | TotalAmountInclVat |

How words are found

The tool splits on spaces, underscores and hyphens, and also where lower case meets upper case (invoiceDate becomes invoice and date). Accents are removed (café becomes cafe), apostrophes are dropped and & becomes and, so the result is a plain identifier.

Keep Convert each line separately ticked to convert a list of names in one go. For other styles, see snake case, kebab case and screaming snake case.

Frequently asked questions

Is the text to camelCase free?

Yes. The text to camelCase is completely free, with no account, sign-up or usage limit.

Is my text stored?

No. Your text is processed in your browser and is not sent to a server or stored.

Is there a maximum length?

No, there is no fixed limit. Very long texts can just be a little slower.