A free and open source plain-text editor for your Mac

CotEditor for Mac

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe

CotEditor for Mac

  -  13.9 MB  -  Open Source
CotEditor for Mac is an open-sourced, Cocoa-based plain-text editor for macOS. It supports syntax highlighting, powerful find-and-replace with OniGmo (regular expression engine), and other small goodies for coding. It can handle also CJK languages well.

CotEditor is exactly made for macOS. It looks and behaves just as macOS applications should. CotEditor for macOS launches so quickly that you can write your text immediately when you want to. The app is developed as an open-source project that allows anyone to contribute.

Features and Highlights

Syntax Highlighting
Colorize more than 50 pre-installed major languages like HTML, PHP, Python, Ruby, or Markdown. You can also create your own settings.

Split Editor
Split a window into multiple panes to see different parts of your document at the same time.

Powerful Find & Replace
Super powerful find and replace using the ICU regular expression engine.

Character Inspector
Inspect Unicode character data of each selected character in your document and display them in a popover.

Setting via Click
There are no complex setting files that require geek knowledge. You can access all your settings including syntax definitions and themes from a normal preferences window.

Scriptable
Make your own macro in your favorite language, whether it is Python, Ruby, Perl, PHP, UNIX shell, AppleScript, or JavaScript.

Auto Backup
You don't need to lose your unsaved data anymore. Cot Editor for Mac backups your documents automatically while editing.

Incompatible Characters
Check and list-up the characters in your document that cannot be converted into the desired encoding.

Outline Menu
Extract specified lines with the predefined syntax and you can jump to the corresponding line.

CJK Language Friendly
Estimate various file encodings accurately, toggle to vertical text mode and keep its line-height correctly.

Note: Requires 64-bit processor.

  • CotEditor 4.7.4 Screenshots

    The images below have been resized. Click on them to view the screenshots in full size.

What's new in this version:

New Features:
- Support the alpha channel in theme settings (Custom themes using alpha channel are not compatible with CotEditor prior to version 4.7.4)
- Make sections in the document inspector collapsable
- Add “Hexadecimal with Alpha” format to the Color Code panel
- Add Czech localization

Improved:
- Tweak the background color of the “Anura (Dark)” theme
- [dev] Migrate all the inspector panes to SwiftUI

Fixed:
- Fix an issue on macOS 13 that the stepper in the custom tab width view worked only once
- Fix an issue that the character code point displayed in the document inspector could be broken when the application is localized
- Fix an issue that the custom font size for the outline inspector was not fully applied
- Fix an issue that the menu of the Syntax toolbar item could also check the previous one
- Fix an issue that a part of the Portuguese localization was not applied
- Fix Italian localization

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe