Text converter
Paste your text, then click a transformation: uppercase, lowercase, capitalize each word, camelCase, snake_case, slug, accent removal, invisible character clean-up, line sorting and de-duplication.
🔒 Everything happens in your browser: the text is never sent to our servers.
Upper and lower case
Code formats
Clean-up
Lines
Choosing the right transformation
Upper and lower case
“Capitalize Each Word” suits English titles and proper nouns. Many other languages, French and Spanish for instance, only capitalize the first word of a title: use “Sentence case” instead. Transformations handle accented letters (é → É) and follow the page language.
Naming variables, files and URLs
Naming conventions depend on the language: camelCase for JavaScript and Java variables, PascalCase for classes, snake_case in Python and for SQL columns, kebab-case for CSS classes and file names, CONSTANT_CASE for constants. The slug produces a readable web address, without accents or spaces.
Cleaning copy-pasted text
Text coming from Word, a PDF or a web page often carries invisible characters (zero-width space, soft hyphen), non-breaking spaces and curly quotes. They go unnoticed on screen but break a search, a CSV import or a password. “Special characters” replaces them with plain equivalents.
Working with lists
A list of email addresses, domains or references is processed line by line: remove spaces and empty lines, de-duplicate, then sort. Sorting follows the natural order of numbers (2 before 10) and ignores case and accents. Every step can be undone.
Frequently asked questions
Is my text sent to a server?
No. Every transformation is done by your browser: the text never leaves your computer, even for confidential data.
What is the difference between camelCase, snake_case and kebab-case?
camelCase joins words with a capital (customerName), snake_case separates them with underscores (customer_name) and kebab-case with hyphens (customer-name). The choice depends on the language or use: JavaScript variables, SQL columns, web addresses…
What does cleaning special characters do?
Text copied from a word processor or a web page often contains invisible characters, non-breaking spaces or curly quotes that cause errors in code, spreadsheets or forms. The clean-up replaces them with plain characters.
How do I count the words and characters in a text?
Paste the text: the number of characters (with and without spaces), words, lines and bytes is shown below the input and updates with every change. Emojis and accented letters count as a single character.
Can I undo a transformation?
Yes, the Undo button goes back up to 50 steps. Nothing is saved: if you close the page the text is lost, so remember to copy it.