Selected Text Case Converter
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
Selected Text Case Converter lets you instantly change the case of any text you select on a webpage. When you highlight text, a small tooltip appears with quick case conversion options. You can convert to uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, or alternating case. The converted text can replace your selection in-place or be copied to your clipboard. The extension also provides keyboard shortcuts (Ctrl+Shift+U for uppercase, Ctrl+Shift+L for lowercase, and more) and an undo feature (Ctrl+Shift+Z) to revert the last conversion. A detailed panel shows previews of all conversion options, making it easy to choose the right case for your text.
WHERE IT RUNS
The extension works on every website with selectable text, including news sites, blogs, documentation pages, code editors, social media, and any other page with text content. It runs locally in your browser, converting text using JavaScript string manipulation without sending any data to external servers. The extension supports all major browsers and adapts to both desktop and mobile viewports seamlessly.
HOW TO USE
After installation, simply select any text on a webpage. A tooltip appears with six common case conversion options: UPPER, lower, Title, Sentence, camel, and snake. Click any option to apply the conversion. To see all nine conversion options, open the extension panel and click "Show Case Options," or click the badge (if enabled). The panel displays each case type with a preview of the converted text—click any option to apply it. To copy the converted text instead of replacing it, change the default action in the settings. To undo the last conversion, use the Undo button in the panel or press Ctrl+Shift+Z. To customize the experience, open the extension panel and toggle "Show tooltip on selection" to enable or disable the floating tooltip. Choose your preferred default action (Replace or Copy). Select the tooltip position (Above cursor, Below cursor, or Beside cursor). For per-site customization, enable or disable the extension on specific websites using the per-site controls.
THE ACTUAL MECHANISM — SELECTION API WITH IN-PLACE TEXT REPLACEMENT
The extension uses the browser's Selection API (`window.getSelection()`) to capture user-selected text and the Range API to replace it in-place. When a user selects text, the extension listens for `selectionchange` events and retrieves the selected text and its range. For each case conversion, a dedicated JavaScript function transforms the text using string operations: `toUpperCase()` and `toLowerCase()` for basic cases; `replace(/\w\S*/g, ...)` for title case; regex patterns for sentence case; and custom algorithms for camelCase, PascalCase, snake_case, kebab-case, and alternating case. When the user applies a conversion, the extension uses `range.deleteContents()` to remove the selected text and `range.insertNode(textNode)` to insert the converted text. The selection is then updated to the new text. For copy mode, the extension uses `GM_setClipboard` to copy the converted text. The undo feature stores the original text and the range reference, allowing the extension to restore the original text using the same replacement technique. Keyboard shortcuts are captured using keydown events with modifier checks (Ctrl+Shift+key).
THE PANEL
The settings panel is a lightweight, draggable overlay that appears in the center of your screen. You can reposition it by clicking and dragging the title bar; release it near the screen edge and it will snap into place automatically. To collapse the panel into a compact title bar, click the minimize button, expanding it again with the same control. The panel is fully responsive, adapting to different screen resolutions with a minimum width of 300px and a maximum of 480px. Press the Escape key at any time to dismiss the panel without applying changes. All controls—the enable/disable toggle, show case options button, close button, undo button, tooltip toggle, default action selector, position selector, and per-site controls—are accessible within a clean, high-contrast interface that respects your system's color scheme.
PLEASE NOTE
This extension requires the free BotGentz companion extension to be installed and active, which provides the underlying DOM access, clipboard, and storage engine. The extension modifies the DOM when replacing text in-place, which may not work on read-only elements or text inputs in some cases. The keyboard shortcuts (Ctrl+Shift+U, Ctrl+Shift+L, etc.) may conflict with existing shortcuts on some websites. The tooltip may not display correctly on very small selections or when the selection is near the edge of the viewport. The undo feature only works for the most recent conversion and requires that the selection hasn't been changed since the conversion. No personal data, browsing history, or selected text is ever collected, stored, or transmitted. All settings are saved using the browser's storage API and remain solely on your device. The extension does not inject ads, trackers, or analytics of any kind.