Variable Name Converter for Programmers
Convert variable and function names between camelCase, snake_case, PascalCase, and kebab-case. Save time when porting code or enforcing naming standards across your codebase.
When porting code between languages, renaming variables to match target language conventions is tedious. A JavaScript developer moving to Python needs to convert dozens of camelCase identifiers to snake_case. This tool batch-converts variable names between any programming naming convention.
Porting Code Between Languages Made Easier
When converting a Python project to JavaScript or a Java library to Rust, one of the most time-consuming tasks is renaming identifiers. This tool automates the mechanical part of that conversion so you can focus on adapting logic and APIs. Paste a list of names and convert them all at once.
Enforcing Naming Conventions in Code Reviews
Inconsistent naming is one of the most common code review comments. Use this tool during code reviews to quickly verify that identifiers follow your project's conventions. You can also share it with team members who are new to a language's naming standards.
Frequently Asked Questions
Paste each variable name on a separate line. The tool converts each line independently, preserving line breaks. This makes it easy to convert a list of identifiers from a code file all at once.
The tool uses multiple strategies: it splits on underscores (snake_case), hyphens (kebab-case), and uppercase transitions (camelCase/PascalCase). This means it correctly handles getUserById, get_user_by_id, and get-user-by-id as three-word identifiers.