Guide: convert text naming conventions
JSON APIs use camelCase; databases and Python favor snake_case; constants use SCREAMING_SNAKE. Hand-renaming between layers causes silent serializer bugs.
Conversion is local text only — paste field lists without server upload. Handy for DTO mapping, SQL columns, or aligning env vars with TypeScript.
Use when integrating third-party SDKs, codegen from OpenAPI, or standardizing analytics event names. Double-check acronyms (`APIKey` vs `ApiKey`) — heuristics differ.
Step by step
- Paste words or identifiers — One per line or a full phrase — existing separators are detected.
- Pick target case — camelCase, PascalCase, kebab-case, snake_case, or UPPER per destination layer.
- Review acronyms and digits — IDs like `user2fa` may become `user_2fa` or `user2Fa` — tweak if your team rules are strict.
- Copy into code or schema — Paste into interfaces, SQL migrations, or `.env.example` — match repo lint rules.