A browser extension that allows you to use AI to do anything with the selected text.


Or, manually download and install from the ZIP files in the latest release.
- Select any text and right click to get a list of AI actions to perform with the selected text
- Sensible and useful default context menu actions
- Easily add custom context menu actions as needed
- Re-generate the result differently if you don't like it
- Ability to configure an AI provider, model, and API key
- Support for Gemini, OpenAI, Anthropic, and DeepSeek
- Markdown formatting for responses
- Beautiful and simple UI
- Cross-browser support (Firefox and Chrome)
Install the dependencies:
pnpm install
To build the extension for both browsers:
pnpm build
To watch for changes and rebuild on changes for both browsers:
pnpm watch
- Build the extension:
pnpm build
-
Open Firefox and navigate to
about:debugging
. -
Click on "This Firefox" in the left sidebar.
-
Click "Load Temporary Add-on".
-
Select the
dist-firefox/manifest.json
file. -
The add-on should now be loaded and visible in the browser toolbar.
- Build the extension:
pnpm build
-
Open Chrome and navigate to
chrome://extensions
. -
Enable "Developer mode" in the top right.
-
Click "Load unpacked".
-
Select the
dist-chrome
folder. -
The extension should now be loaded and visible in the browser toolbar.
-
Run the watch command to automatically rebuild on changes:
pnpm watch
-
After making changes and the build completes:
- For Firefox: Go to
about:debugging
, find AiText and click "Reload" - For Chrome: Go to
chrome://extensions
, find AiText and click the refresh icon
- For Firefox: Go to
Note: Temporary add-ons/extensions are removed when the browser is closed and will need to be loaded again the next time you open the browser.
To package the extension for distribution:
pnpm package
This will:
- Prompt for a new version (or keep the current one)
- Update version in
manifest.json
andpackage.json
- Build the extension for both Firefox and Chrome
- Create the following files in the
archives
directory:ai-text-firefox-<version>.zip
- Firefox distribution packageai-text-chrome-<version>.zip
- Chrome distribution packageai-text-source-<version>.zip
- Source code package for Mozilla review
Upload the appropriate zip file to:
- Firefox: Firefox Add-ons site
- Chrome: Chrome Web Store Developer Dashboard
This project is licensed under the MIT License. See the LICENSE file for details.
See the privacy.md file for details.