DengWoLai DengWoLai
Text · DengWoLai

Case Converter — camelCase, snake_case, kebab-case

Case converter rewrites an identifier into the naming convention you need. It also handles the awkward cases — digits, existing acronyms and mixed input — which naive string replacement gets wrong.

Runs locally · files stay on device · works offline

How it works in 4 steps

  1. 1

    Pick or drop

    Select or drag files into the card — loaded directly into local memory.

  2. 2

    Set options

    Adjust target KB, format, dimensions or filters with instant feedback.

  3. 3

    Process locally

    Canvas, WebAssembly, or Web Crypto completes the job on your device.

  4. 4

    Save result

    Download directly; close the tab to clear everything from memory.

When to use this

Scenario Recommended Why
A JSON API uses camelCase but the database uses snake_case Case Converter Bulk rename without touching logic
CSS classes must be kebab-case Case Converter Converts while keeping word boundaries
Constants need CONSTANT_CASE Case Converter Uppercases and inserts underscores

Privacy & Offline Guarantee

Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.

FAQ

How are digits handled?

They usually stay attached to the preceding word (user2Name → user2_name). This tool keeps them where they were rather than splitting them out.

What happens to acronyms?

HTTPResponse becomes http_response — the boundary before the final capital is detected. Naive splitting would give h_t_t_p_response.

Is my text uploaded?

No — conversion is local.

Something failed, or you wish this tool also did something else? Tell me →

Related Tools

Text
Chinese & English Word and Character Counter
Count Chinese characters and English words separately.
Local only →
Text
Text Diff — Compare Two Texts Side by Side
Highlight line differences between two texts.
Local only →
Text
Remove Duplicate Lines
Remove duplicate lines, ignoring case or whitespace.
Local only →
Text
Sort Lines of Text
Sort lines alphabetically, numerically or by length.
Local only →

Ready to process your files privately?

Back to tool ↑