CotEditor 4+

Lightweight plain-text editor

Mineko IMANISHI

    • 4.9 • 292 Ratings
    • Free

Screenshots

Description

CotEditor is a light-weight, neat, yet powerful text editor designed for editing plain-text files such as web pages (HTML, CSS), program source codes (Python, Ruby, Perl, etc.), structured texts (Markdown, Textile, TeX, etc.), or any other kind of plain-text.


Just For Mac

The application is exactly made for macOS. CotEditor looks and behaves just as macOS applications should. It means, you already know how to use it even on the first launch. There are no complicated setting files that require geek knowledge so that you can access all your settings including syntax definitions and themes from a standard settings window.

Quick, Easy, and Powerful

CotEditor launches so quickly that you can write your text immediately when you want to. It's perfect for you to write a draft version of your document or a scratch code. The simply organized user interface doesn't disturb your task. However, at the same time, CotEditor is neither software only for beginners nor a typical minimal “zen-style” editor. It is fully customizable. There are, of course, syntax highlighting for various languages, find and replace with the regular expression, auto-indentation, command-line tool, and lots of other deep functions. You can also easily write your own macro in your favorite languages.

Key Features

• Syntax highlighting including more than 50 preset languages
• Powerful find and replace with the regular expression
• Auto-backup with/without overwriting actual document files
• Line numbers view
• Live character/word/line count
• Handling file encoding and line endings with care
• Auto-generated outline menu for fast navigation
• Character inspector that shows the zoomed glyph and Unicode information
• Vertical text layout mode
• Various Unicode normalizations
• Semi-transparent window
• Command-line tool
• Scriptable with your favorite language
• JCK-languages friendly

What’s New

Version 4.6.1

Fixes
- Fix an issue that the result of Find All did not update.
- Fix an issue that the change of the option “When nothing else is open” in the General settings was not applied.
- Fix a typo in German.


What's New in 4.6.0

New Features
- Support macOS 14 Sonoma.
- Add the “Kind” option to syntax definitions to set the syntax is for “general” or “code.”
- Add feature to set the editor font depending of the syntax kind.
- Add the monospaced font setting to the Appearance settings pane.
- Add feature to switch the monospaced/proportional font to the Fonts toolbar item.
- Copy the matched lines by selecting rows in the find result view and performing the Copy command.
- Add option to disable the inconsistent line endings dialog entirely (not recommended).
- Add Spanish localization.

Improvements
- Change the system requirement to macOS 13 Ventura and later.
- Update the behavior and look of the inspector pane.
- Add “Use system color” option to the cursor color in the theme setting view.
- Update the character inspector to add labels for each item and show the Unicode version.
- Make sure to perform the automatic whitespace trimming every time before explicit saving by the user.
- Migrate the sharing interface to the modern version.
- Reorganize the Settings window.
- Remove the Print settings in the Settings window (Instead, set print settings directly in the Print dialog).
- Add a font size field to the print dialog.
- Deprecate the option to do nothing when no document is opened on startup.
- Deprecate the cursor type option.
- Deprecate the option to swap ¥ and \ keys.
- Deprecate the option to comment always from the line head (This behavior is now always enabled).
- Deprecate the Color Code toolbar button.
- Update the User Guide.
- Update the Unicode block name list for the character inspector to Unicode 15.1.0.
- Update the Swift syntax to add keywords for Swift 5.9.

Fixes
- Fix an issue that the Settings window was not listed in the Window menu.

Others
- The toolbar customization will be reset at the first launch of CotEditor 4.6.0.

Ratings and Reviews

4.9 out of 5
292 Ratings

292 Ratings

gileslewis3 ,

Really fast for editing small files

This is the fastest editor I have seen for working with small text files. I love the clean, simple interface; and especially the speed with which it launches. However, I am giving it 4 stars instead of 5 for two reasons:
(1) I think the "Enable Auto Save with Versions” feature is a bit dangerous. I did a Find to search for text, but instead of hitting “Find All”, I hit “Replace All” by mistake. I could not figure out how to undo my change, so I closed the main window thinking that I had not saved my file. But the file was auto-saved with the unintentional change. I now know that I could have closed the Find window, at which point “Undo Replace All” would have appeared as an option under the Edit menu. However, I think that “Enable Auto Save with Versions” is not a good feature for novices. The default setting should be false.
(2) I would really like to see a “Whole Word” checkbox in Find window.

Developer Response ,

Thank you for the kind review. In response to your second request, I've added "Match only whole Word" option to find panel (in "Advanced find options" via the gear button in the find panel) on CotEditor 3.6.1. Regarding the first comment, we will not change the default setting of Auto Save because it is nowadays the standard behavior of macOS applications. Please just turn it off if you want to avoid.

kibigo! ,

Perfect General-Purpose Text Editor

This app is perfect for when you need something more fully-featured than TextEdit, but don't need a complicated project manager like Atom or similar. The major selling points for me are Unicode support (the ‘Inspect Character’ and ‘Input in Unicode Hex’ commands are extremely helpful, and greatly reduce the need for character escapes in your documents) and the fact that it plays well with proportional fonts (many text editors have bugs when you use a font that isn't monospace—not so with CotEditor!).

If I had to list drawbacks, the syntax highlighting is not as fully-featured as you might find in something like Atom. But I've been using CotEditor for several months and never found it missing a feature that I needed for my work, and it is refreshing the extent to which things that one might need to download a plugin for in Atom or Brackets just come built right in.

1wcb ,

Extremely useful and valuable

On the Mac, I found I needed "something" to convert then transfer straight text between different Mac apps and found that CotEditor does exactly that with ease. - As a general review for normal people's uses, it is a light weight, full featured editor. It covers all the bases with character substitution and can even do spell checking (if that is what you want). However, it is not a full featured word processor as CotEditor is not designed to be one, it is an editor.. - FWIW: I am an ancient unix system administrator and have used VI (text based editor) my entire life. This will not replace VI but I find I use it more and more for general note taking, quick scripts, etc in the Mac graphical enviroment. - CotEditor is great and there is a reason it has an extremely high score on the App Store.

App Privacy

The developer, Mineko IMANISHI, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary, for example, based on the features you use or your age. Learn More