CotEditor is a lightweight plain-text editor for source code, notes, Markdown, web content, and more. Its clean, neat interface makes everyday editing simple and comfortable, while powerful tools support more advanced work when you need them.
Made for Mac
CotEditor is built exclusively for macOS and designed to feel at home from the start. It follows familiar system conventions, integrates seamlessly with features such as Dark Mode, Versions, iCloud, and VoiceOver, and keeps settings in a standard settings window, right where Mac users expect them.
Fast, Focused, and Ready for Real Work
CotEditor launches quickly, and its simple, well-organised interface helps you stay focused on your work. Built-in syntax highlighting for many popular languages and an outline menu based on syntax help you grasp the structure of your documents at a glance. When your work calls for more, CotEditor is ready with powerful find and replace, precise tools for editing text, scripting support, and the flexibility to tailor the details to your workflow.
Thoughtful About Text
CotEditor pays attention to the details that make plain-text editing reliable, from text encodings and line endings to Unicode normalisation and diverse writing systems. It helps you see what’s really in your document by revealing invisible characters, warning about mixed line endings or characters that cannot be saved in the chosen encoding, and offering detailed character inspection. It also makes CotEditor comfortable across different writing systems and text conventions.
Key Features
• Syntax highlighting for more than 70 preset languages
• Powerful find and replace with regular expressions
• Live character, word, and line counts
• Auto Save with an option to avoid overwriting the original file
• Careful handling of text encodings and line endings
• Outline menu based on syntax
• Multi-cursor editing
• Sidebar folder navigation
• Character inspector with enlarged glyph and Unicode information
• Support for diverse writing styles, including CJK text, vertical text layout, and right-to-left text
• Various Unicode normalisations
• Command-line tool
• Scriptable in your favourite language
All features in CotEditor are available for free. In-app purchases are optional and support the project.
Terms of Service: https://www.apple.com/legal/internet-services/itunes/dev/stdeula/
Privacy Policy: https://coteditor.com/privacy
Ratings & Reviews
This app has not received enough ratings or reviews to display an overview.
Compatibility Changes
- Introduce CotEditor Syntax, a new syntax definition format. The legacy YAML-based syntax definition format is now deprecated, and user-created syntaxes are automatically migrated on first launch.
New Features
- Adopt smarter syntax parsing powered by tree-sitter for multiple built-in syntaxes, improving syntax highlighting and outline extraction in C, C#, C++, CSS, Go, HTML, Java, JavaScript, Kotlin, LaTeX, Lua, Makefile, Markdown (outline extraction only), PHP, Python, Ruby, Rust, Scala, Shell Script, SQL, Swift, and TypeScript.
- Display symbolic icons next to outline items.
- Allow collapsing outline items in the Outline inspector for tree-sitter-based and structured document syntaxes.
- Add the “Wrap Lines” option to the Outline inspector.
- Make smart indentation aware of the current syntax.
- Expand comment delimiter settings in syntax definitions, allowing multiple delimiters and related options.
- Add detailed delimiter settings for strings, characters, and indentation to syntax definitions.
- Add the Multiline option to highlighting rules in syntax definitions so matches can span multiple lines.
- Show the current position in search results in the Find field while navigating between matches, for example, “2/5”.
- Add CurrentLine and ReplaceCurrentLine to the UNIX script input/output keywords for editing the current line in the editor.
- Add Bulgarian localization.
Improvements
- Update the inspector’s appearance on macOS Tahoe 26.
- Improve the syntax-highlighting algorithm for legacy regex-based parsing.
- Update built-in syntaxes.
- Use the user’s window size setting for the Zoom action, if available.
- Improve word selection and related editing actions to treat commas as word delimiters.
- Improve general text-editing performance.
- Hide line numbers in the window titlebar area when the navigation bar is hidden on macOS Tahoe 26.
Fixes
- Fix incorrect syntax parsing in some built-in syntaxes.
- Fix an issue where the default file extension in the Save dialog was .txt for syntaxes with a file extension not registered in the system.
- Fix an issue where TSV multiple replace definitions could fail to overwrite an existing definition when re-imported.
- Fix an issue where TSV multiple replace definitions could not import empty replacement strings.
- Fix an issue where key bindings imported from a settings archive could be lost after relaunching the app.
- Fix issues in the file browser where items could point to the wrong location after being moved or renamed.
- Fix an issue in the file browser where replacing a file with a folder, or vice versa, could leave the displayed state outdated.
- Fix an issue in the file browser where newly created or duplicated items could fail to become selected immediately in some folders.
- Fix issues where the Script menu could become outdated after changes in the Scripts folder.
- Fix an issue where line reordering commands could insert extra blank lines in documents using CRLF line endings.
- Fix an issue where AppleScript could return an unclear error when a folder document had no current document.
- Fix an issue where requesting a zero-length text range via AppleScript could return an unintended character.
- Fix an issue where some decimal setting values could use the wrong number format and be reset unexpectedly in certain locale configurations.
Version 7.0.0
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 based, for example, on the features you use or your age. Learn More
The developer indicated that this app supports the following accessibility features. Learn More