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

CotEditor for Mac

CotEditor for Mac

  -  16.7 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 5.0.3 Screenshots

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

    CotEditor 5.0.3 Screenshot 1
  • CotEditor 5.0.3 Screenshot 2
  • CotEditor 5.0.3 Screenshot 3
  • CotEditor 5.0.3 Screenshot 4
  • CotEditor 5.0.3 Screenshot 5

What's new in this version:

Improved:
- Expand folder items by double-clicking a folder row in the file browser
- Directly open .plist files from the file browser instead of previewing
- Improve alias file handling in the file browser

Fixed:
- Fix an issue that the application crashes when an editor is opened while the Font window appears
- Fix an issue that the document window size was not properly saved