The plain-text editor for macOS
open sourceApache-2.0free
CotEditor is a free, lightweight plain-text editor made only for macOS, written in Swift on Cocoa's text system so it looks and behaves like a native Mac app and launches quickly. It highlights more than 60 languages out of the box (and custom syntaxes), has find and replace with ICU regular expressions, an outline menu, split panes, a Unicode character inspector, automatic backups, scripting in any language, and careful encoding handling with vertical text for CJK languages. Settings live in a standard settings window rather than configuration files. It supports the latest two major macOS releases; older systems use versions from its archives.
Ways to install
App stores
Package managers
Problems it solves
- a fast native plain-text editor for my Mac that isn't an IDE
- open text files in odd encodings on macOS and see which characters won't convert
- edit Japanese or Chinese text vertically in a plain-text editor
Features
- syntax highlighting for more than 60 languages, with custom definitions
- find and replace with ICU regular expressions
- outline menu and split editor panes
- Unicode character inspector
- automatic backup of unsaved documents
- scripting in Python, Ruby, Perl, PHP, shell, AppleScript or JavaScript
- encoding detection, incompatible-character list and vertical text for CJK
Alternatives
The same job
These do what CotEditor does.
- BBEdit Professional HTML and text editor for macOS
- Nova The next-generation Mac-native code editor
- Lapce Lightning-fast and powerful code editor, written in Rust
- Sublime Text Text Editing, Done Right
- CodeEdit Free, open source code editor written natively for macOS
- LiteIDE A simple, open source, cross-platform Go IDE
