Case Style Converter for Code
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Case Style Converter for Code transforms text between six common code naming conventions. Paste any text and the tool instantly shows conversions to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and Sentence case. The tool automatically detects the current case style and highlights it in the output. Each conversion result has a copy button for quick access. This is essential for developers working across different codebases, frameworks, or programming languages that use different naming conventions.
WHERE IT RUNS
The extension runs entirely within your browser's local environment using the BotGentz framework. All text parsing, case detection, and conversion occur on your machine without any network requests. No text data, conversion results, or user activity is ever transmitted, uploaded, or stored externally. The tool works on any website and respects the browser's security boundaries, operating within the isolated extension sandbox. Case conversion uses pure JavaScript string manipulation and tokenization.
HOW TO USE
Click the extension toolbar icon to open the Case Style Converter for Code panel. Enter text in the input area—the panel displays all six case style conversions in a scrollable list. Each conversion shows the result with a "Copy" button. Click "Copy" next to any style to copy that version to your clipboard. Toggle "Auto-detect case" to enable automatic detection of the input's current case style, which is marked in the output. Toggle "Preserve numbers" to control how numbers are handled during conversion. Select the "Default Output" style to set which style is highlighted in the output. The tool updates automatically when you change settings or input text. Use the "Convert" button to manually trigger the conversion.
THE CASE CONVERSION ENGINE — WHY IT WORKS
Most case converters use simple replace operations that fail on complex inputs with mixed delimiters or acronyms. This tool uses a tokenization-based approach: it first identifies the input's current case style by analyzing the presence of underscores, hyphens, spaces, and capital letters. Then it tokenizes the input by splitting on delimiters (_, -, space) or by identifying word boundaries in camelCase and PascalCase. The tokenization algorithm handles acronyms (e.g., "HTTPServer" → ["HTTP", "Server"]) and mixed-case text. Once tokenized, the engine applies the target case style by joining the tokens with the appropriate separator and applying the correct capitalization. The auto-detection feature analyzes the input string and returns the most likely case style. This tokenization-based approach ensures accurate conversions across all supported case styles, even with complex input.
THE PANEL
The Case Style Converter for Code panel is fully draggable by its title bar and remembers its position on screen per website. It snaps to the edges of your browser window for clean alignment. Collapse the panel to a compact icon strip using the minimize button, restoring it with a single click. Resize the panel by dragging any edge or corner; the input area and conversion results adjust proportionally. Press the Escape key to close the panel instantly. The panel maintains independent state for each browser tab, allowing you to convert text in multiple tabs simultaneously.
PLEASE NOTE
This extension requires the free BotGentz extension framework to be installed and enabled. The tool is designed for code identifiers (variable names, function names, class names) and may produce unexpected results with natural language text. The auto-detection feature works best with standard code naming conventions; ambiguous inputs may be misidentified. Acronym detection is heuristic-based and may not handle all cases. All conversion data is processed locally and is never transmitted, logged, or shared. The extension requests no network permissions and functions entirely offline. The source code is fully auditable and available for review.