Case Converter

Case Converter

Characters: 0Words: 0
Enter text to convert and all case results will appear here.

Case Notation Reference

NotationExample (hello world example_text)Common usage
camelCasehelloWorldExampleTextJavaScript/Java variables & functions
PascalCaseHelloWorldExampleTextClass, component & type names
snake_casehello_world_example_textPython/Ruby variables, DB columns
kebab-casehello-world-example-textURL slugs, CSS classes, file names
CONSTANT_CASEHELLO_WORLD_EXAMPLE_TEXTConstants, environment variables
dot.casehello.world.example.textNamespaces, property paths
path/casehello/world/example/textURL paths, file paths
Train-CaseHello-World-Example-TextHTTP header names
UPPERCASEHELLO WORLD EXAMPLE_TEXTEmphasis, acronyms
lowercasehello world example_textSearch normalization, comparison
Title CaseHello World Example_textTitles, headlines
Sentence caseHello world example_textBody sentences, descriptions
CapitalizeHello world example_textTidy up the first letter of names/labels

Comments & questions

What is the Case Converter?

The Case Converter is a free online tool that instantly converts your text or variable name into every notation commonly used in development — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more — all at once. Unlike typical tools where you pick one target format at a time, this tool outputs every case result on a single screen so they are easy to compare and copy.

Even input that mixes spaces, underscores, hyphens, and camelCase is automatically split into word tokens and recombined accurately, making it especially useful for aligning variable and function naming conventions or for generating URL slugs, CSS classes, and environment variable names. It also supports general case conversions such as UPPERCASE, lowercase, Title Case, and Sentence case.

Key Features

Convert all cases at once

camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE appear together the moment you type, so comparing and copying is effortless.

General case conversion

Handle UPPERCASE, lowercase, Title Case, Sentence case, and Capitalize (first letter only) in one place.

Smart tokenization

Automatically detects spaces, underscores, hyphens, camelCase, number, and acronym boundaries to recombine any input accurately.

One-click copy & export

Copy per case, or use Copy All, Copy JSON, and JSON download to grab every result at once.

How to Use

  1. Enter your text: Paste or type the word or phrase you want to convert. Any notation format is detected automatically.
  2. See all cases: As you type, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more appear together on one screen.
  3. Enable extra notations: Turn on the extra notations view to also see dot.case, path/case, and Train-Case results.
  4. One-click copy: Click the copy button next to any case to copy that result to your clipboard.
  5. Export everything: Use Copy All or Export/Download JSON to grab every conversion result at once.

Use Cases

Variable & function naming

Convert snake_case API response fields to camelCase (or vice versa) in a single step.

URL slugs & CSS classes

Turn titles or word combinations into kebab-case to build SEO-friendly URL slugs and CSS class names.

Constants & env variables

Convert config keys or constant names to CONSTANT_CASE to match your code conventions.

Document & title cleanup

Use Title Case and Sentence case to make headings and body text consistent.

Frequently Asked Questions

Which cases can I convert to at once?

By default it converts simultaneously to camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Enable the extra notations option to also see dot.case, path/case, and Train-Case. On top of that, UPPERCASE, lowercase, Title Case, Sentence case, and Capitalize (first letter only) are all shown on a single screen.

Can it reconvert input that is already in camelCase?

Yes. Whatever the input format — camelCase, PascalCase, snake_case, kebab-case, or a plain sentence — it is automatically split into word tokens and recombined into each case. For example, entering 'getUserName' yields get_user_name in snake_case and get-user-name in kebab-case.

How are numbers and acronyms (HTTP, ID, etc.) handled?

It detects word boundaries between letters and numbers, and after consecutive uppercase acronyms. For example, 'HTTPServer' splits into HTTP and Server, while 'user2Name' splits into user, 2, and Name, then recombines each according to the case rules.

Can I grab all the converted results at once?

Yes. Each case has its own copy button for individual copying, and the Export All section lets you Copy All (label: value format) or Copy/Download JSON to take every result at once.

Is the text I enter sent to a server?

No. All conversion runs purely in your browser with JavaScript, and the input text is never sent to or stored on any server. You can safely convert sensitive content such as variable names or code snippets.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word, which suits titles (e.g. Hello World Example). Sentence case capitalizes only the first letter of the sentence and lowercases the rest, which suits body sentences (e.g. Hello world example).

Privacy Notice

Every conversion in this tool is performed entirely in your browser with JavaScript. The text and variable names you enter are never sent to or stored on any server, so you can safely convert sensitive code snippets or internal identifiers.

Related Tools

Text CleanerJSON ↔ CSVRegex TesterFancy Font GeneratorWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →