PhilipSchmid/textwarden
Tentang
Grammar checking that respects your privacy. Real-time spelling and style suggestions across all macOS apps, running entirely on-device.
Keamanan dan privasiYang dapat Anda lakukan
- Real-time grammar and spelling suggestions in English with Harper or in languages supported by your local LanguageTool server
- One-click corrections and a Fix All command for clear-cut errors
- American, British, Canadian, Australian, and Indian English dialects
- Custom vocabulary, the macOS learned-word dictionary, and optional word lists for technical terms, names, brands, abbreviations, and slang
Pertumbuhan bintang terukur
- dalam 24 jam
- +2
- dalam 7 hari
- +6
- dalam 15 hari
- +9
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliTextWarden: Private Grammar Checker for macOS
TextWarden is a free, open-source grammar checker and writing assistant for macOS. It checks English spelling, grammar, punctuation, and style while you type.
Your writing stays on your Mac by default. The bundled grammar engine works offline and Apple Intelligence runs on-device. There is no account to create and no subscription.
[!NOTE] TextWarden is under active development. Apps do not all share text with macOS in the same way, so underlines and corrections may work differently from one app to another. If something breaks, please open a bug report.
Why TextWarden?
- On-device proofreading: Choose the bundled Harper engine or a local LanguageTool server in Preferences → Grammar. Optional AI features use Apple Intelligence on your Mac. The default setup works offline.
- Works in many Mac apps: Apple Mail, WeChat, and Firefox are a few of the supported apps.
- Fast feedback: TextWarden underlines errors when an app provides the location of each word. In apps without word locations, use the optional floating pill to review suggestions.
- A rewrite without leaving your app: Improve selected text using your preferred writing style, then review the changes before applying them.
- No account or subscription: Download the app and grant Accessibility permission. Your usage statistics and custom dictionary stay on your Mac.
Apple Mail · Hover over the underlined word to see the correction in your draft.
Features
- Real-time grammar and spelling suggestions in English with Harper or in languages supported by your local LanguageTool server
- One-click corrections and a Fix All command for clear-cut errors
- American, British, Canadian, Australian, and Indian English dialects
- Custom vocabulary, the macOS learned-word dictionary, and optional word lists for technical terms, names, brands, abbreviations, and slang
- Optional detection of 69 selectable non-English languages to avoid false positives in multilingual documents
- Readability scores and sentence-complexity underlines for text with at least 30 words
- Browser extension with precise underlines and native writing tools
- Per-app pause controls, per-app underline controls, and website exclusions
- A built-in Sketch Pad for focused drafting and revision
- Optional automatic updates, with a separate channel for experimental releases
Apple Intelligence writing tools
On macOS 26 or later, a compatible Mac with an Apple M-series chip can use Apple's built-in, on-device AI for:
- Style suggestions for clear, concise, formal, casual, or business writing
- Quick Rewrite, which proposes improvements to selected text using your configured writing style
- AI Compose, which drafts from your instructions or rewrites selected text with a specific instruction
- Sentence simplification and readability tips
- Quick actions in Sketch Pad for professional, friendly, concise, or refined rewrites
These features are off by default. Grammar checking, spell checking, custom dictionaries, language detection, and readability scoring do not require Apple Intelligence.
Quick Rewrite
With style checking enabled, select a passage in your app and press Option–Shift–R (⌥⇧R) to get a rewrite in your chosen style. Compare the wording and check that it keeps your meaning. Choose Apply to replace the selection or Cancel to keep the original. You can change the style and shortcut.
The Concise style shortens the second sentence to “Each guest must bring their own chair.”
Requirements
- macOS 14 Sonoma or later
- An Intel or Apple Silicon Mac
- Accessibility permission, so TextWarden can read and update text in other apps
Apple Intelligence features additionally require macOS 26, a supported Mac with an Apple M-series chip, and Apple Intelligence enabled in System Settings.
Install TextWarden
- Download the latest TextWarden installer (
.dmg) from GitHub Releases. - Drag TextWarden into the Applications folder and open it.
- Grant Accessibility permission when macOS asks.
- Start typing in a supported app.
The download works on both Intel and Apple Silicon Macs. To avoid overlapping suggestions, turn off the other app's built-in spelling and grammar checker when you use TextWarden there.
See the Configuration Guide for every setting and the Troubleshooting Guide if the app, indicator, or underlines do not behave as expected.
General settings · Check that Accessibility permission is granted before you start typing.
Choose a grammar engine
Harper checks English offline and is ready on first launch. For multilingual proofreading, open Preferences → Grammar, choose LanguageTool, and expand Set up a local server. It gives you the Homebrew commands to run on your Mac. Keep the address at http://localhost:8081 and select Test Connection. Leave Writing language on Automatic to detect each text and use your existing dialect for English. LanguageTool setup and shared preferences
Browser Extension
The extension adds precise underlines and TextWarden’s writing tools to Chrome, Brave, Vivaldi, Firefox, Zen, and Safari. It uses the grammar engine selected in TextWarden. Google Docs and complex web editors are not supported yet.
Firefox · Three words are flagged. For “tril,” the route description makes “trail” the right choice.
See the Firefox toolbar popup
The toolbar feather opens checking and underline controls for the current page.
Open Preferences → Browser → Install Extension in TextWarden.
- Chrome / Brave / Vivaldi: Enable Developer mode and Load unpacked from the revealed folder.
- Firefox / Zen: Choose Install in Firefox or Install in Zen and approve the signed add-on. Development builds use a temporary add-on that must be reloaded after a browser restart.
- Safari: Enable the bundled extension in Safari → Settings → Extensions. Signed, notarized builds need no Developer mode.
Click the toolbar feather on a page to start checking. To draft from an instruction, open AI Compose from the pill. The extension is bundled with the Mac app. See the extension guide for setup and privacy details.
How It Works
After you grant permission, TextWarden reads the text field you are typing in and checks it with the grammar engine selected in Preferences (Harper by default). Suggestions appear as underlines or in a small floating indicator beside the app. If you enable Ignore selected languages, TextWarden hides grammar suggestions in passages it confidently identifies as one of those languages.
Both engines check up to 100,000 UTF-16 units per native text field, browser-extension editor, or Sketch Pad document. Most letters count as one unit. Some emoji count as several. Above the limit, checking pauses and your writing stays intact. Local LanguageTool checks eligible drafts in parts of up to 20,000 units by default. For off-device servers, that setting limits the whole document and oversized drafts stay on your Mac. Grammar checking limits
When Apple Intelligence features are enabled, TextWarden gives the current text or selection to Apple's on-device AI. With LanguageTool selected, TextWarden sends the current text to the server saved in Grammar settings.
Supported Apps
TextWarden is tuned for the apps below. Some apps give macOS less information about their text fields than others, so the exact experience varies.
| Application | Grammar checking | Visual underlines |
|---|---|---|
| Slack | Full | Full |
| Claude | Full | Full |
| ChatGPT | Full | Full |
| Perplexity | Full | Full |
| T3 Code | Full | Full |
| Safari | Full | Full[^extension] |
| Google Chrome | Full | Full[^extension] |
| Brave | Full | Full[^extension] |
| Vivaldi | Full | Full[^extension][^vivaldi] |
| Firefox | Full | Full[^extension][^gecko] |
| Zen | Full | Full[^extension][^gecko] |
| Comet | Partial[^comet] | Indicator only |
| Apple Mail | Full | Full |
| Apple Notes | Full | Full |
| Apple Messages | Full | Full |
| Apple Calendar | Full | Full |
| Apple Pages | Full | Full |
| Apple Numbers | Text in the active cell editor | Text in the active cell editor |
| Apple Keynote | Slide text in edit mode | Slide text in edit mode |
| Apple Reminders | Full | Full |
| TextEdit | Full | Full |
| Notion | Full | Partial[^notion] |
| Obsidian | Note editor[^obsidian] | Partial[^obsidian] |
| Telegram | Full | Full |
| Full | Full | |
| Full | Full | |
| Webex | Full | Full |
| Microsoft Word | Full | Full |
| Microsoft PowerPoint | Notes only[^powerpoint] | Notes only[^powerpoint] |
| Microsoft Outlook | Full | Full |
| Microsoft Teams | Full | Full |
| Proton Mail | Full | Full |
| Microsoft Excel | Not supported | Not available |
[^notion]: Notion does not make every text block available to macOS at once, so some errors appear in the indicator without an underline. See Notion support notes. [^obsidian]: Obsidian exposes the rendered portion of an editable note to macOS. TextWarden checks that text in Live Preview and Source mode and draws underlines where it can locate the affected text. See Obsidian support notes. [^powerpoint]: PowerPoint lets TextWarden read speaker notes, but not text boxes on slides. See PowerPoint support notes. [^comet]: Comet uses macOS Accessibility for grammar suggestions in the floating indicator. It has no TextWarden browser extension integration. [^extension]: Full checking and inline underlines require the browser extension. Activate it from the toolbar on a page with a text field or a simple rich-text editor. Google Docs and other complex editors are unsupported. [^vivaldi]: Without the extension, Vivaldi offers an opt-in floating indicator with copy-only fixes. [^gecko]: Without the extension, Firefox and Zen can also show suggestions in read-only fields because of a browser accessibility bug.
Website editors vary, especially editors with formatting controls. Before TextWarden reads text in an unrecognized app, it asks whether you want to try it safely or keep it paused. A safe trial uses the floating indicator and copy-only fixes; underlines and direct edits stay off. You can change this choice later in Preferences → Applications.
Terminal apps are paused by default because command output and source code produce poor grammar-checking results.
Privacy
TextWarden’s default configuration checks your writing on this Mac. TextWarden has no account, analytics, telemetry, advertising, or automatic crash reporting.
Harper grammar checks, language detection, and readability scoring run inside TextWarden. Optional AI features run on your Mac through Apple Intelligence.
Selecting LanguageTool sends the text being checked to your configured server. We recommend keeping the default localhost address. Your custom dictionary and macOS learned words stay local to the app and the system. See Grammar engine setup and preferences.
If you enable update checks, TextWarden downloads release information from GitHub. The update check does not upload your writing, prompts, usage data, logs, or diagnostics.
Logs can contain parts of your writing, especially with Debug or Trace logging enabled, but they remain on your Mac. TextWarden only creates a diagnostic ZIP when you ask it to, and it never uploads that file for you. Review the file yourself before choosing to share it.
Known Limitations
- Harper checks English. LanguageTool checks the languages supported by your server. Language detection can suppress suggestions for 69 selected non-English languages. Very short or ambiguous passages remain eligible for checking.
- Some custom text editors do not give macOS enough information for accurate underlines or safe corrections.
- A correction can remove formatting in apps that only let TextWarden replace the entire text field.
- Apple Intelligence style and composition features are unavailable on Intel Macs and on macOS releases before 26.
- TextWarden is a macOS app. There are no Windows, Linux, iOS, or Android versions.
Project Documentation
- Browser extension
- Configuration
- Troubleshooting
- Building from source
- Contributing
- Architecture
- Apple Foundation Models integration
- Application-specific notes
Credits
TextWarden uses Harper, an open-source English grammar checker written in Rust. It also depends on swift-bridge, Whatlang, KeyboardShortcuts, LaunchAtLogin-Modern, Sparkle, swift-markdown, STTextView, and ConfettiSwiftUI.
The codebase was developed with substantial AI assistance and human review. The TextWarden logo was created with Recraft.
Support the Project
TextWarden is maintained as a side project. If it helps your writing, you can support its development:
License
TextWarden is available under the Apache License 2.0.
Jelajahi proyek terkait
Memuat…