How to Format JSON in 2026
Convert between JSON and YAML formats easily. Learn the differences, use cases, and best practices for configuration files.
Convert text to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and more — perfect for code, APIs, and SEO slugs
This Case Converter transforms words into popular naming conventions used across codebases and content systems: camelCase for JavaScript variables, PascalCase for class names, snake_case for databases and Python, and kebab-case for URLs and SEO-friendly slugs. Instead of manually editing underscores, hyphens, and capitalization, you can paste any text (including mixed formats) and get consistent output instantly—useful for refactors, API field naming, file renames, and generating clean URL paths.
Paste your text (sentence, variable name, or mixed-format string) into the input box
Choose the output case style (camelCase, PascalCase, snake_case, kebab-case, etc.)
Copy the converted result
Use the output in code, database columns, API fields, filenames, or URL slugs
Convert plain text into camelCase for JavaScript/TypeScript variables
Convert object keys to snake_case for backend APIs or SQL columns
Generate kebab-case URL slugs for SEO-friendly routes and headings
Standardize naming when migrating between languages (JS ↔ Python ↔ SQL)
Refactor inconsistent naming across a codebase or documentation
Create CONSTANT_CASE values for environment variables and constants
Supports camelCase, PascalCase, snake_case, kebab-case, Title Case, and CONSTANT_CASE
Handles mixed input (spaces, underscores, hyphens, and existing capitalization)
Keeps word boundaries consistent to avoid messy outputs
One-click copy for faster dev workflows
Runs locally in your browser (privacy-friendly)
Learn more about this tool with our in-depth guides
Convert between JSON and YAML formats easily. Learn the differences, use cases, and best practices for configuration files.