JSON, YAML and log viewer

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

A config file, a log or a script usually means opening a whole code editor or squinting at TextEdit. TypeFire opens about 60 kinds of text and code file in a tab beside your notes, colored, with line numbers and Find, opens CSV files as a table, and saves them exactly as they were. Free on Mac.
A config.yaml file open in a TypeFire tab beside a note and a log, with Find, Focus mode, Wrap lines and Line numbers, and a menu with Copy text, Copy file path, Open in TextEdit, Open in a new window and Show in Finder

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.

What it opens

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.xml
  • Logs and diffs

    Server logs, crash output and patches, with line numbers to point at.

    .log.diff.patch
  • Web 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.r
  • Shell scripts

    Read a script before you run it, and fix the one line that needs fixing.

    .sh.bash.zsh.fish
A YAML config open as code in TypeFire with colored keys and values and line numbers
CSV and TSV

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.tsv
  • Rows 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.

A CSV file of orders open in a TypeFire tab as a table, one cell being edited, a Table and Text switch, an Add row button and a menu with Insert row above, Insert row below, Move row down and Delete row
The code tab

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.

The code tab's header with Find, Focus mode, Wrap lines and Line numbers, and its menu open
With Finder and your notes

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.

A package.json previewed in Finder with Quick Look, in color with line numbers and a TypeFire Preview bar

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.

In their words

Loved by people who type all day.

Unprompted reactions from users, in their own words.

Exactly what macOS has been needing: blazing fast, beautifully designed, and it respects your privacy without forcing a subscription.
Physician
I use TypeFire every single day, all day long. I love it.
Works at Apple
The way you've handled the AI integrations is very elegant. A great implementation.
Mac user
TypeFire is the absolute replacement for TextExpander.
Works at Apple
I love your app. Love it. The only one that does what I want it to do.
Mac user
I'm loving the date math. Amazing, love it.
ICU doctor
It instantly imported my 502 snippets. Flawless import.
Moved over from TextExpander
Incredibly lightweight. It has quickly become a go-to tool in my daily workflow.
Physician
Love the app, and your development pace rocks.
Longtime user
This app is AWESOME! And I definitely want to buy the Pro version.
Free user
Fantastic. Thank you for the very fast fix.
EU keyboard user
This app has so much potential. I'm really grateful that I found it.
Mac user

Used by people at

AppleRed HatPalo Alto NetworksHubSpotIndeedSentryFreshworksTrustpilotBumbleFarfetchSaint-GobainfoodpandaMcKinseyAccentureIntuitInstacartRakutenDow JonesHearstRokuxAINuroGitGuardianMeltwaterDevRevWoltAirwallex

Company names are places where our users work. They do not imply endorsement or affiliation.