
Sometimes all you need is a good text editor, not an entire development environment.
CotEditor is a lightweight, free and open source plain text editor made exclusively for macOS. Written in Swift, it uses native macOS technologies and feels right at home on the Mac.
Whether you’re editing configuration files, writing Markdown, working with HTML and CSS or simply taking notes, CotEditor offers considerably more flexibility than Apple’s TextEdit without the complexity of a full development environment.
Last updated: November 20, 2026.
CotEditor Features
Despite its minimalist interface, CotEditor packs a surprisingly comprehensive set of text editing tools. Everything from syntax definitions and color themes to keyboard shortcuts can be customized through the application’s native settings window.
- Syntax highlighting: Built-in support for dozens of languages, including HTML, CSS, JavaScript, PHP, Python, Swift, Ruby and Markdown. You can also create your own syntax definitions.
- Find and replace: Advanced text searching using regular expressions powered by the ICU engine.
- Split editor: View and edit different parts of the same document simultaneously.
- Multiple cursors: Edit several locations within a document at once.
- Folder navigation: Browse and search files within an opened folder directly from the sidebar.
- Outline navigation: Quickly jump between sections, headings or functions within a document.
- Character inspector: Examine individual characters, including their Unicode code points.
- Encoding support: Detect and convert text encodings, inspect incompatible characters and manage line endings.
- Auto Save: Automatically preserve your work while editing, with an option to avoid overwriting the original file.
- Custom themes: Customize syntax colors and the editor’s appearance, with support for macOS Dark Mode.
- Scripting: Automate repetitive tasks using languages such as Python, Ruby, Perl, AppleScript and shell scripts.
- International text support: Support for Chinese, Japanese and Korean text, vertical writing and right-to-left languages.
CotEditor also integrates with native macOS features such as Versions, iCloud and VoiceOver.
Using CotEditor From the Terminal
If you regularly work in the Terminal, CotEditor includes a command-line utility called cot.
Once the utility is installed and available in your PATH, you can open a text file directly from the command line:
cot example.txt
You can also open a file at a specific line:
cot --line 42 example.txt
The command supports additional options for opening documents in the background, opening files in read-only mode and specifying syntax highlighting.
Run cot --help for the available options or check the project’s command-line documentation.
CotEditor vs TextEdit and VS Code
CotEditor occupies a useful middle ground between Apple’s built-in text editor and more comprehensive code editors.
| Feature | CotEditor | TextEdit | VS Code |
|---|---|---|---|
| Free | Yes | Yes | Yes |
| Native macOS interface | Yes | Yes | Electron |
| Syntax highlighting | Yes | No | Yes |
| Regular expression search | Yes | No | Yes |
| Integrated terminal | No | No | Yes |
| Rich text editing | No | Yes | No |
| Best suited for | Plain text and lightweight code editing | Simple text and rich text documents | Software development |
If your workflow involves extensive development tools, integrated debugging or a large ecosystem of extensions, a code editor such as VS Code or its open source alternative VSCodium is probably a better fit.
But for quickly editing scripts, configuration files, Markdown documents and other plain text files, CotEditor is an excellent native alternative.
Download and Install CotEditor
CotEditor is available for free from the Mac App Store or directly from the project’s GitHub releases page.
Both distributions offer the same functionality. The main difference is how updates are delivered. The App Store manages updates for its version, while the standalone version includes the Sparkle updater.
Both versions are sandboxed, and the standalone version is notarized by Apple.
All application features are free. Optional donations help support development.
Install CotEditor With Homebrew
If you already use Homebrew, you can install CotEditor by running:
brew install --cask coteditor
The Homebrew installation also makes the bundled cot command-line utility available through Homebrew’s binary directory.
macOS Compatibility
At the time of this update, the latest stable release is CotEditor 7.1.3. The current version requires macOS Tahoe 26 or later and supports macOS Golden Gate 27.
If you’re running an older version of macOS, compatible releases are still available from the project’s archives.
| macOS version | Compatible CotEditor version |
|---|---|
| Golden Gate 27 / Tahoe 26 | 7.1.3 |
| Sequoia 15 | 7.0.9 |
| Sonoma 14 | 5.2.3 |
| Ventura 13 | 4.8.7 |
| Monterey 12 | 4.5.9 |
| Big Sur 11 | 4.3.6 |
| Catalina 10.15 | 4.0.9 |
You can download these and even older releases from the official CotEditor archives. Keep in mind that older releases are no longer supported by the developers.
CotEditor’s source code is available under the Apache License 2.0.
Download: Official website | Mac App Store | GitHub

