Correct selected text anywhere on macOS with one shortcut.
Mend is a lightweight macOS writing assistant. Select text in any application, press a global shortcut, and Mend replaces it with a corrected version using your preferred AI provider.
- Corrects grammar, spelling, punctuation, and phrasing in place
- Works across macOS applications through a configurable global shortcut
- Supports OpenAI, Gemini, and custom OpenAI-compatible endpoints
- Falls back to another configured provider when a request fails
- Stores API keys in macOS Keychain
- Lets you save several actions, each with its own instruction and one or more shortcuts: fix grammar, tighten, translate
- Lets you customize the endpoint and model
- Shows compact progress and result notifications without interrupting your workflow
- Restores clipboard contents after capturing and replacing text
- Runs quietly in the background and stays accessible from the menu bar, Spotlight, or Raycast
- Apple silicon Mac
- macOS 13 or later
- An API key for OpenAI, Gemini, or an OpenAI-compatible provider
- Accessibility permission for reading and replacing selected text
Install from Terminal:
curl -fsSL https://mend.itsneel.com/install | shThe installer verifies the release checksum and installs Mend into /Applications. Launch it with open /Applications/Mend.app.
Run the same command again to update. To install by hand instead, download Mend-app-aarch64-apple-darwin.tar.gz from GitHub Releases, extract it, and move Mend into Applications. If macOS blocks the first launch, allow Mend under System Settings → Privacy & Security → Open Anyway.
For Gatekeeper, permissions, and release details, see the installation guide.
- Open Mend Settings from the app or menu-bar icon.
- Choose OpenAI, Gemini, or Custom.
- Enter the API key, confirm the endpoint and model, and select Save. A custom endpoint can be saved without a key for local servers such as Ollama or LM Studio.
- Allow Mend under System Settings → Privacy & Security → Accessibility.
- Configure the shortcut for Fix grammar if you do not want the default, Control–Option–G.
- Add more actions under Actions, each with its own instruction. An action can have several shortcuts.
Mend keeps every provider key in one macOS Keychain item. When macOS asks whether Mend may use it, choose Always Allow so it does not ask again after updates. Turn on Open Mend at login in Settings to keep it running after a restart.
- Select text in any application.
- Press the shortcut of the action you want.
- Mend sends the selection and that action's instruction to the selected provider. If that request fails, it tries another provider with a saved API key.
- The corrected text replaces the selection in place.
Press the shortcut again while a request is running to cancel it. You can hide the menu-bar icon from Settings without disabling the global shortcut.
Mend replaces the selection through Accessibility when the app supports it and falls back to pasting otherwise. The pasted text is plain, so in rich-text editors such as Notes or Pages the corrected selection loses bold, italics, and links.
Choose Check for Updates… from the menu-bar icon to compare your version with the latest GitHub release.
Closing Settings leaves Mend running in the background. Mend stays out of the Dock and Cmd-Tab while its global shortcut remains active.
Xcode Command Line Tools and Swift 5.10 or later are required.
git clone https://github.com/Neel2107/Mend.git
cd Mend
chmod +x Scripts/*.sh
./Scripts/run.shBuild a signed app bundle in dist/ with:
./Scripts/build-app.sh- API keys are stored locally in macOS Keychain.
- Selected text is sent to the selected provider and, after a failed request, any configured fallback provider that Mend tries.
- Mend does not include analytics, user accounts, or a hosted backend.
- Clipboard contents are restored after each operation.
Mend is available under the MIT License.