Made for working with AI agents

While an agent works in one project, you work in another. KodamaEditor keeps track of which window is which and what changed.

A color for every project

Register a color for a folder, and every file inside opens in that color. Eight themes drawn from traditional Japanese colors, each with a light and a dark version.

See what changed

When another app rewrites an open file, KodamaEditor reloads it and marks the added, changed and deleted lines. One Undo brings the previous text back.

Saves only when you say so

Nothing is written to your file until you choose Save, so an agent's work is never overwritten behind your back. Your unsaved lines are marked in blue.

Accurate with every encoding

Detects Unicode, Japanese, Chinese, Korean and European encodings. Bytes that cannot be decoded are kept as they are, so opening and saving never damages a file.

Gigabyte files

Opens a 1 GB file in about a second. Scrolling, typing and search stay smooth at any size, up to 4 GB.

Private by design

KodamaEditor never connects to the network and collects no data. It runs in the macOS App Sandbox and opens only the files you choose.

See every line your AI changed

When Claude Code, Codex CLI or any other tool rewrites an open file, KodamaEditor reloads it automatically and marks the lines in the gutter. Marks stay until you clear them, so you can review several rounds of edits at once.

GreenAdded by another app
AmberChanged by another app
Red triangleLines deleted here
BlueYour own unsaved edits

Jump between changes with View > Next Change (Ctrl+Option+↓). View > Clear Change Marks removes them. To undo an outside rewrite, choose Edit > Undo.

Lines marked in the gutter after an outside edit

A color for every project

Window > Background (Ctrl+Cmd+] / [) changes the color of the current window. To give a whole project its color:

  1. Open a file from the project and choose its color.
  2. Choose Window > Set Folder Color... and select the project folder.
  3. Every file in that folder, including subfolders, now opens in that color. The window title shows the folder name.

Sumi (ink)  Tetsukon (iron navy)  Aitetsu (indigo iron)  Chitose (pine green)  Kuchiba (fallen leaf)  Kurikawa (chestnut brown)  Enji (crimson)  Shikon (royal purple) 

Windows in the background turn translucent so the one you are typing in stands out. Change or remove folder colors in Settings > Folder Colors.

Compare before you overwrite

If a file changes on disk while you have unsaved edits, a bar appears at the top of the window. Choose Compare to see your version and the file on disk side by side, then keep yours or load the one on disk.

KodamaEditor saves only when you choose File > Save. Your unsaved work is backed up every 15 seconds inside the app's own storage and restored if the app quits unexpectedly.

Comparison sheet showing local edits in red and the file on disk in green

Accurate with every encoding

The encoding is detected from the byte order mark, the declaration in the file, and how cleanly each candidate reads it. The status bar shows the result; click it to see why that encoding was chosen.

  • File > Reopen with Encoding... lists every encoding by how few unreadable bytes it gives, with a preview.
  • Format > Encoding converts the document. Characters the new encoding cannot hold are listed one by one, with look-alike replacements.
  • Unreadable bytes appear as red hex boxes and are written back unchanged when you save.
  • Format > Line Endings converts between LF, CRLF and CR. Mixed line endings are shown in the status bar.
Shift_JIS file with the Reopen with Encoding panel listing encodings and a preview

Supported encodings

UnicodeUTF-8, UTF-8 with BOM, UTF-16LE / BE, UTF-32LE / BE (with or without BOM)
JapaneseWindows-31J (CP932), Shift_JIS, Shift_JIS-2004, EUC-JP, eucJP-ms, EUC-JIS-2004, ISO-2022-JP, ISO-2022-JP (CP50221)
Chinese (Simplified)GB18030
Chinese (Traditional)Big5 (CP950), Big5-HKSCS
KoreanEUC-KR (CP949)
Western EuropeanISO-8859-1, Windows-1252, Mac Roman
Central EuropeanISO-8859-2, Windows-1250
CyrillicISO-8859-5, Windows-1251, KOI8-R
GreekISO-8859-7, Windows-1253
TurkishISO-8859-9, Windows-1254
Hebrew / ArabicWindows-1255, Windows-1256
Thai / VietnameseWindows-874, Windows-1258

Gigabyte files, no waiting

KodamaEditor draws only the lines on screen, so a 1 GB log opens in about a second and scrolls as smoothly as a short note. Files up to 4 GB are supported.

View > Split Top and Bottom (Shift+Cmd+D) shows two places in the same file. Find and replace supports regular expressions, case matching and whole words, and large files are searched in the background.

A 9-million-line log split into two views with regular expression matches highlighted

Keyboard shortcuts

Cmd+F / Cmd+Option+FFind / Find and replace
Cmd+G / Cmd+Shift+GNext / previous match
Cmd+EUse the selection for Find
Cmd+LGo to line
Cmd+] / Cmd+[Indent / outdent lines (also Tab / Shift+Tab with several lines selected)
Option+dragRectangular (column) selection
Ctrl+Option+↓ / ↑Next / previous change
Shift+Cmd+DSplit top and bottom / close split
Ctrl+Cmd+↑ / ↓Move to the upper / lower editor
Ctrl+Cmd+] / [Next / previous background color (this window only)
Cmd++ / - / 0Larger / smaller / reset font size of this window
Cmd+,Settings: font, line spacing, tabs, line numbers, invisible characters, current line highlight, encodings, folder colors

Standard macOS text shortcuts work too, including Emacs-style keys such as Ctrl+K and Ctrl+Y. Edit > Convert converts letters, numbers and katakana between full width and half width.

Support

Questions, bug reports and feature requests are welcome through our contact form. Please include your macOS version and, for problems with a particular file, its encoding as shown in the status bar.

Where are my settings stored?

KodamaEditor runs in the macOS App Sandbox, so its settings and the backups of unsaved work live in ~/Library/Containers/com.kodama.KodamaEditor.

A file opened with the wrong encoding

Choose File > Reopen with Encoding... and pick the right one from the list. To change which encodings are tried first, change the detection order in Settings > Encoding.

Changes from another app do not show up

Check that "Reload automatically when changed by another app" is on in Settings > General. If you have unsaved edits, KodamaEditor shows a bar at the top of the window instead of reloading, so that your edits are not lost.

Uninstall

Move KodamaEditor to the Trash. To remove your settings as well, delete ~/Library/Containers/com.kodama.KodamaEditor.

Version
1.0.0
Requirements
macOS 14 Sonoma or later
Architecture
Universal (Apple Silicon and Intel)
Price
Free
Languages
English, Japanese
Privacy
No data collected. See our Application Privacy Policy.
Publisher
Kodama & Company, Inc.

Know which project, and what changed

Free for macOS 14 Sonoma or later. Questions or bug reports? Contact us.

Get it on the Mac App Store

Use of KodamaEditor is subject to the Apple Standard EULA, our Terms of Use and Application Privacy Policy.