Case Converter
Converti testo tra 13 formati diversi: camelCase, PascalCase, snake_case, kebab-case e altri.
Converti
Come utilizzare Case Converter
Inserisci il testo da convertire
Digita o incolla il testo nell'area di input in cima al pannello. Il convertitore accetta qualsiasi formato: testo libero, camelCase, snake_case, kebab-case o frasi normali.
Visualizza le conversioni istantanee
Non appena inserisci il testo, la griglia dei risultati mostra automaticamente il testo convertito in tutti e 13 i formati disponibili senza premere alcun pulsante.
Copia il formato desiderato
Clicca il pulsante di copia accanto a qualsiasi formato nella griglia per copiarlo negli appunti. L'icona cambierà in segno di spunta per confermare la copia avvenuta.
Copia tutti i formati in una volta
Usa il pulsante "Copia tutti" per copiare l'elenco completo di tutti i 13 formati negli appunti, uno per riga, nel formato "nomeFormato: valore".
Consulta la guida ai formati
La barra laterale "Guida ai Formati" mostra una descrizione e un esempio per ciascun formato, utile per ricordare quale usare in ogni contesto di programmazione.
Suggerimenti
- Il convertitore gestisce correttamente l'input in qualsiasi formato: puoi incollare direttamente una variabile camelCase o un nome di file kebab-case e otterrai tutte le conversioni.
- Usa "Copia tutti" per ottenere un'istantanea completa di tutti i formati, comoda da incollare in un documento di specifiche o in un commento di codice.
- La sezione "Uso comune" nella sidebar ricorda velocemente quale formato usare per JavaScript, Python, CSS o database senza dover consultare documentazione esterna.
Domande frequenti
What is the difference between camelCase and PascalCase?
In camelCase the first word starts with a lowercase letter and subsequent words start with an uppercase letter (e.g. myVariableName). In PascalCase every word starts with an uppercase letter, including the first one (e.g. MyClassName). camelCase is used for variables and functions, while PascalCase is used for classes and components.
When is snake_case used instead of kebab-case?
Concise string length - use underscore for variables and functions in Python and column names in databases; use hyphen for URLs, CSS classes, HTML attributes, and file names in the frontend.
What does SCREAMING_SNAKE_CASE mean?
Screaming Snake Case is the uppercase variant of snake case, commonly used for constants in languages like JavaScript/TypeScript, Java, and C.
Does the converter automatically recognize the input format?
Yes, the splitting algorithm analyzes incoming text and breaks it down into independent words regardless of the original format: spaces, underscores, apostrophes, slashes, periods, and transitions between uppercase/lowercase (camelCase) are all recognized automatically.
Can I use this tool to convert file names or variables?
Absolutely yes. The Case Converter is designed specifically for this purpose: insert the name in any format and get all variations instantly. It's useful during code refactoring or when changing a naming convention in a project.