Text Editor · macOS

Text someone — or something — wrote. Investigate. Fix.

Now that AI does the writing, an editor is a tool for reading and fixing. Logs, CSVs, exports, dumps, diffs. You don’t choose their size or encoding. MrEditor opens them, filters, aligns columns, lets you fix broken rows, and saves without leaving the file half-written.

Free forever · signed and notarized

A CSV of about 1 GB and 5.8 million lines opened in MrEditor, with unsaved notes as tabs on the left and the file’s info on the right

Features

Opens 1 GB+ in tens of milliseconds

Files are memory-mapped, and only tens of KB are read before the first line appears. A 1.18 GiB, 5.8-million-line CSV shows its first line in 51 ms; a 10 GB, 86-million-line log opens in about 80 ms. Excel stops at 1,048,576 rows — no rows vanish here.

A service log, an aligned CSV, formatted JSON, and a two-file config diff

Columns line up

CSV/TSV align into columns, and one-line JSON is formatted in place. Grep while the columns stay aligned. Formatting is display-only, so saving writes the original back byte for byte. Fixed-width files become columns with the column ruler.

An aligned CSV narrowed to matching rows

Format JSON and query it in place

Run jmespath-style expressions with ⌥⌘J to filter and project. Results are never saved, so the file on disk stays untouched.

One-line JSON shown formatted

Pipe a live log straight in

With tail -f app.log | mreditor, the log opens from the first byte and follows the tail. Type a term while it streams and switch on “matching lines only”: only the matching lines stay, even as the log keeps flowing. Run | mreditor again and the stream joins the open window as a tab. The install command is under Help ▸ Use from Terminal…

A log piped in from the terminal, narrowed to ERROR while it keeps following

Unsaved tabs are named after their first line

The tab of an unsaved new document — or text you just pasted — is named after the first line of its text, so a row of “Untitled” tabs can still be told apart by what is in them. A long line is cut at 24 characters plus “…”. Edit the first line and the names in the sidebar and the title bar follow. While the text is empty, it stays “Untitled”.

The sidebar listing unsaved tabs named after their first lines (Release checklist, Weekly sync, and so on)

Open server logs without downloading

ssh host:/var/log/app.log (⌃⌘O) opens from the tail. Filtering runs on the remote side and no body bytes are transferred. Authentication is left to /usr/bin/ssh — if the terminal connects, so does this.

tail -f a 10 GB log — and edit it

Follow mode (⌥⌘F) never reloads; it extends the mmap index by only the new bytes. Follow a multi-GB log that is still being written, and edit it in place.

Resizable sidebar

Drag the right edge of the sidebar to freely adjust its width (140 to 500 pt, clamped to 40% of the window width). Double-click the edge to reset to the default 200 pt. Your preferred width is automatically remembered and restored on launch and when toggling.

Inspector panel for bookmarks and document info

Toggle the right inspector with ⌥⌘I or the toolbar button. The Bookmarks tab lists marked lines with live text previews — click to jump, or click × to remove. The Info tab reveals file path, size, total lines, encodings, line endings, font, dates, creator app, and dirty state at a glance. Resizable by dragging (200 to 500 pt) and remembered across sessions.

Fix (and spot) decomposed dakuten from PDFs

Text pasted from a PDF, or taken from a Mac file name, can contain "が" as "か" plus a combining mark — two characters. It looks and searches the same on a Mac, so it goes unnoticed. Format → "Fix Decomposed Dakuten / Handakuten" turns the selection into single characters, leaving characters unrelated to the marks (CJK compatibility ideographs, symbols) alone. The status bar shows a count when there are any, and a banner appears at the bottom right when you paste them. It only tells you; it never rewrites the text (the count is shown for small files only).

Saves that don’t break the file

Atomic save writes to a temporary file and swaps. Bytes you didn’t touch come back as they were. Save as UTF-8 / Shift-JIS / EUC-JP, and pick up outside changes automatically.

Compare and merge

Put two files, two open tabs, the clipboard or a URL side by side and see down to the changed character. Press → to move the left side into the right, then save the result under a new name.

The editor basics are covered too

Everything for reading and fixing is in the free MrEditor (MIT licensed).

Open · Read

  • Fast open at any size
  • Encoding auto-detect (UTF-8 / Shift-JIS / EUC-JP)
  • Structured view (CSV/TSV, NDJSON, JSON)
  • Column ruler and fixed-width field definitions
  • Open remote files without downloading
  • Direct open for zip (including Windows CP932) and gz

Find · Narrow

  • Streaming search over huge files
  • Multi-word AND, regex, case-sensitive
  • Filter view / live grep showing matches only
  • Replace with case preservation
  • Jump to line (⌘L)

Edit · Save

  • Edit at any size (piece table for huge files)
  • Atomic save
  • Choose the save encoding
  • Align by column (Tab / ⌥Tab)
  • Auto-reload on outside changes
  • Text transform toolbox (duplicates, blank lines, indents, UNIX timestamps, decomposed-dakuten fix, etc.)

Comfort

  • Multiple documents and session restore
  • Unsaved tabs named after their first line
  • Resizable sidebar with persistence
  • Inspector panel (bookmarks & document info)
  • Themes (Solarized / Monokai / custom)
  • Font, tab width and line spacing
  • Status bar (encoding, lines, size, index progress, sound effects)
  • Japanese / English UI

An editor must never corrupt a single byte. Reviewed with MrkCodeReview, every finding backed by a scenario and evidence.

Editing a 10 GB+ log while following live streams, repairing broken CSV column offsets in place, and never losing a single byte on save. Deep within editor core engineering lie brutal race conditions and edge cases. MrEditor is reviewed with MrkCodeReview, where every finding must carry a scenario and its evidence.

Every boundary condition and concurrency trap is captured as an automated test, ensuring files remain incorruptible even at multi-gigabyte scale. Note: This code example is illustrative only; actual output may differ.

Edge case caught and verified during review
# Case: In-place editing a line while tail -f follows an actively streaming 10 GB log
$ tail -f /var/log/heavy-service.log | mreditor

# Blind spot: The editor saves changes while external processes continuously append bytes
# MrkCodeReview finding:
#   "Ensure atomic swap via temporary sibling file, or verify write lock boundary.
#    Piece table must keep newly appended bytes intact during inline row edits."

# Result: Zero bytes lost from incoming stream appends; modified line atomically committed