Case converter

    Change text between camelCase, snake_case, kebab-case, Title Case and more.

    Loading tool…

    About the case converter

    Shows your text in thirteen naming conventions at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more. Word boundaries are detected from existing casing, underscores, hyphens and spaces, so converting between conventions works in either direction.

    Frequently asked questions

    How are acronyms handled?

    A run of capitals followed by a capitalised word splits sensibly, so parseHTTPResponse becomes parse_http_response rather than parse_h_t_t_p_response.

    Which convention should I use where?

    Follow the language, not personal taste: camelCase for JavaScript and Java variables, snake_case for Python and SQL, kebab-case for URLs, CSS classes and CLI flags, PascalCase for types and components.

    Often used alongside