Open JSON, YAML, CSV and log files on Mac. Read them in color, edit them, save them as they were.

What's a free app to view and edit JSON, YAML and log files on Mac?
TypeFire opens JSON, YAML, TOML, .env, logs, shell scripts and source code in color with line numbers, opens CSV and TSV as an editable table, and saves them byte for byte. Use File > Open, or right-click a file in Finder and choose Open With > TypeFire.
It never makes itself the default for these files on its own. If you want a double click to open them in TypeFire, turn on Open in TypeFire for a type or a group in Settings, Files & Preview, and it asks before it changes anything.
In color, with line numbers
About 60 kinds of text and code file open in a tab, colored by language, so keys, values and comments read apart.
Saved exactly as it was
TypeFire writes the file back byte for byte, line endings included, apart from what you changed. Nothing reformats your config.
Your default apps stay yours
TypeFire appears in Open With. It becomes the default for a kind of file only if you turn that group on in Settings.
About 60 kinds of file, in one place.
If it is text and it has a structure, TypeFire colors it. Markdown and .txt files open as notes, the way they always have.
Data and config files
The settings behind apps, servers and build tools.
.json.jsonc.json5.yaml.yml.toml.ini.cfg.conf.env.properties.xmlLogs and diffs
Server logs, crash output and patches, with line numbers to point at.
.log.diff.patchWeb code and programming languages
From a stylesheet to a Go service, opened without loading a whole project.
.js.jsx.ts.tsx.css.scss.vue.svelte.graphql.py.rb.go.rs.java.kt.swift.c.cpp.cs.php.sql.rShell scripts
Read a script before you run it, and fix the one line that needs fixing.
.sh.bash.zsh.fish

Open a CSV without a spreadsheet app.
A CSV or TSV file opens as a table in the same style as a table in a note, ready to fix a typo or add a row without starting Excel or Numbers.
Click a cell to edit
Return moves down and Tab moves right, the way a spreadsheet does. Numbers line up on the right.
.csv.tsvRows and columns from a right-click
Add, delete or move a row or a column, add a row at the end, or a column with the +. The Table switch shows the raw text.
Only your changes are written
Saving rewrites just the rows you changed, so quoting and everything else in the file stay as they were. Your spreadsheet app keeps opening CSV files on a double click.

Enough editor to fix the line. Not a project to load.
A code tab has the controls that matter for reading and changing one file, and nothing that would reformat it.
Find and replace, with regex
Search the file, use $1 to reuse what you matched, and change case with \U and \L. Replace all undoes in one step.
Wrap lines and line numbers
Long log lines wrap to fit instead of scrolling sideways, and line numbers switch on or off from the header.
Focus mode
Hides everything but the file you are reading. Esc brings the rest back.
A menu for the next step
Copy the text or the file path, open the file in the app your Mac uses for that type, give it its own window, or show it in Finder.

Preview on Space. Open beside your notes.
The same files preview in color in Finder, and open next to the notes you keep about them.
Beside your notes, in the same window
Keep the config you are changing in one tab and the note that explains it in the next. Command-W closes the tab.
Press Space first
In Finder, Quick Look shows the same files in color before you open anything, with a bar naming the language and the line count.
Hidden characters and a page guide
Show tabs, trailing spaces and line breaks, the things that quietly break a YAML file, and set a page guide at 72 to 120 characters.

Code and data files: questions
Still not answered?
TypeFire. Choose File > Open, or right-click the file in Finder and pick Open With > TypeFire, and the JSON opens in a tab in color with line numbers.
You can edit it and save, and the file is written back exactly as it was apart from your change. JSONC and JSON5 work the same way.
Finder hides files that start with a dot, so press Command-Shift-Period to show them, then right-click the .env file and choose Open With > TypeFire.
It opens as text with line numbers, and a save keeps its line endings. TOML, INI, .conf, .cfg and .properties files open the same way.
Yes. TypeFire opens .yaml and .yml files in color with line numbers, with Find and replace (regex included), Wrap lines and hidden characters, so stray tabs and trailing spaces are easy to spot.
Press Space on a YAML file in Finder for a colored preview without opening anything.
Open it in TypeFire with File > Open or Open With > TypeFire.
A .csv or .tsv file opens as a table: click a cell to edit it (Return moves down, Tab moves right), right-click to add, delete or move rows and columns, and use the Table switch to see the raw text. Saving rewrites only the rows you changed, so the rest of the file stays exactly as it was.
No. CSV isn't in any of the default-app groups, so your spreadsheet app keeps opening CSV files on a double click.
Open the file in TypeFire with File > Open or Open With when you want to edit it as a table.
Open the .log file in TypeFire for line numbers, Find with regex and Wrap lines to keep long lines on screen.
Focus mode hides everything but the file. Files over 20 MB are refused with a message instead of freezing the window.
Tables: .csv and .tsv, as an editable table. Data and config: .json, .jsonc, .json5, .yaml, .yml, .toml, .ini, .cfg, .conf, .env, .properties and .xml.
Logs and diffs: .log, .diff and .patch. Web: .js, .mjs, .cjs, .jsx, .tsx, .ts, .css, .scss, .less, .vue, .svelte and .graphql.
Languages: .py, .rb, .go, .rs, .java, .kt, .swift, .c, .h, .cpp, .hpp, .cs, .php, .lua, .r, .pl, .sql, .proto and .gradle. Shell: .sh, .bash, .zsh and .fish. Markdown and .txt open as notes.
macOS also uses .ts for video files, so TypeFire doesn't list itself for that extension in Finder.
Open TypeScript files with File > Open instead and they open as code like everything else.
Not unless you ask. TypeFire shows up in Open With, and Settings > Files & Preview lists every type it can open in four groups MarkdownData and logsWeb codeCode and scripts, with the app that opens each one today.
Turn on Open in TypeFire for one type or a whole group and TypeFire first names the types and the apps they come from. Turn it off and each type goes back to the app it came from.
It's a fast way to read and change a file without opening a whole project.
A code tab has Find and replace, Focus mode, Wrap lines and line numbers. A Save button appears when you've changed something, and the tab's menu can open the file in the app your Mac uses for that type when you need more.
Yes. Opening and editing code and data files, the colored Quick Look preview and the default app groups are all in the free app for Mac.
The Chrome extension also opens text and code files you pick, in a tab.
Yes. Run brew install --cask navbuildz/typefire/typefire in Terminal.
It installs the same signed app as the download, for macOS 13 or later on Apple silicon and Intel, and TypeFire keeps itself up to date from then on. To remove it, run brew uninstall --cask typefire.
Loved by people who type all day.
Unprompted reactions from users, in their own words.
Used by people at
Company names are places where our users work. They do not imply endorsement or affiliation.