A native macOS GUI for Neovim written in Swift, embedding the Neovim editor with Mac-style features like a file finder and workspaces.
coteditor/CotEditor
A lightweight, macOS-native plain text editor written in Swift, aimed at everyday text editing with precise encoding handling.
Open-source alternative to:TextEdit
- Stars
- 8,666
- Forks
- 545
- Open issues
- 12
- Last commit
- 2 days ago
What is it?
CotEditor is a plain text editor built specifically for macOS. It follows the system's native user interface conventions and behaviors, so it feels like a standard Mac app rather than a cross-platform editor with its own look.
The editor is written in Swift on Cocoa's document-based architecture and uses NSTextView and the macOS text system APIs. The project emphasizes accurate handling of many plain text formats, including encoding support and predictable editing behavior, while keeping options minimal to stay approachable for casual users.
The interface is localized into about twenty languages, and the app is distributed through the Mac App Store and the project website. Building from source requires Xcode, with separate ad-hoc and distribution signing configurations.
Key features
- 01Native macOS interface that follows system conventions
- 02Support for many plain text formats and character encodings
- 03Localized into roughly twenty languages
- 04Built with Swift on NSTextView and the macOS text system
- 05Sandboxed with hardened runtime enabled
Use cases
- Quickly editing notes, logs or config files on a Mac
- Working with legacy or non-UTF-8 encoded text files
- Using a lightweight editor instead of a heavy IDE for plain text
Quick start
- 1
Open CotEditor.xcodeproj in Xcode
- 2
For ad-hoc builds, uncomment the ad-hoc include in Configurations/CodeSigning.xcconfig
- 3
Build the CotEditor scheme in Xcode
Things to know
- Requires macOS Tahoe 26 or later and only runs on macOS.
- Image resources are licensed for non-commercial, no-derivatives use, while the source is Apache-2.0.
- Building from source requires Xcode.
In collections
Topics
FAQ
- What is CotEditor?
- A lightweight, macOS-native plain text editor written in Swift, aimed at everyday text editing with precise encoding handling. CotEditor is a plain text editor built specifically for macOS. It follows the system's native user interface conventions and behaviors, so it feels like a standard Mac app rather than a cross-platform editor with its own look.
- Is CotEditor free to use? What license does it have?
- CotEditor is open source under the Other license. Check the license terms before using it in commercial products.
- Is CotEditor still maintained?
- Actively maintained. The last commit to CotEditor was on Nov 5, 2026.
- What can I use CotEditor for?
- Quickly editing notes, logs or config files on a Mac Working with legacy or non-UTF-8 encoded text files Using a lightweight editor instead of a heavy IDE for plain text
- How do I install CotEditor?
- Open CotEditor.xcodeproj in Xcode For ad-hoc builds, uncomment the ad-hoc include in Configurations/CodeSigning.xcconfig Build the CotEditor scheme in Xcode
- Where can I get CotEditor?
- The source code and installation instructions are on GitHub: https://github.com/coteditor/CotEditor
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A free, open-source Markdown editor for macOS, built as a lightweight TextEdit-style app dedicated to Markdown.
A lightweight, minimalist Windows text editor with tabs, Markdown live preview, and a built-in diff viewer, built on UWP and Fluent design.
A cross-platform, Qt-based reimplementation of the Notepad++ text editor for Windows, Linux and macOS.
A macOS GUI version of the Vim text editor, with native menus, full-screen modes, Touch Bar and macOS system integration.
A macOS menu bar app that explains in plain English what each USB-C cable on your Mac can do and why charging may be slow.