BSON document editor

A BSON document editor for MongoDB® that keeps every type exact.

Work with a typed tree or edit raw Extended JSON. Tallhorn keeps the difference between a number, a date, and a string clear, and shows you what will change before it reaches your database.

Download for MacFree on the Mac App Store

BSON document editor is part of the free app. macOS 15 or later.

  • Typed fields
  • Extended JSON
  • Diff before save
The document editor showing an order’s typed fields, with conflict detection turned on.The document editor showing an order’s typed fields, with conflict detection turned on.
The real app, with sample data.

Change what you mean. Keep every type intact.

Edit typed fields or Extended JSON, then review the diff before saving.

BSON document editor, in detail.

Every value has a type you can see

In the typed tree, each value carries a type menu: String, Int32, Int64, Double, Decimal128, Boolean, Date, ObjectId, Null, Object, Array, Binary and UUID, Timestamp, Regex, MinKey and MaxKey. Tallhorn checks what you type against the type you chose and shows a mistake under its field.

Int64 and Decimal128 values are never passed through a floating-point number, so a long order number or a price keeps every digit. Dates keep their milliseconds, and fields stay in the order the document had.

Raw Extended JSON, when that is quicker

Switch the editor to raw mode and work on the document as Extended JSON, one field per line. If the text does not parse, Tallhorn tells you the line and column. Switch back and the tree shows the same document: a round trip through raw mode changes nothing by itself.

See the change before it is written

Save opens a preview of what will change. Tallhorn then sends an update that sets or unsets only the fields you touched, not the whole document, so a field somebody else edited in the meantime is left alone.

With conflict detection on, the update also checks that the fields you changed still hold the values you started from. If someone changed them first, nothing is written and Tallhorn tells you.

Quick edits in the table

For a small fix you do not need the editor: edit a scalar value straight in its table cell. The value keeps its type. Insert a new document from a template based on the collection’s fields, or duplicate or delete the rows you selected, with a confirmation before anything is removed.

Dates without guesswork

Each date has a calendar button that opens a picker in local time or UTC and shows both. Picking a new day keeps the original seconds and milliseconds.

How it goes, step by step.

Three steps from opening Tallhorn to having what you came for.

  1. Open the document

    Start from a query result and inspect the current values and types.

  2. Make your edit

    Change a typed field or work in Extended JSON. Check nested objects and arrays in the same editor.

  3. Review, then save

    Read the proposed changes, keep conflict detection enabled when you need it, and confirm the save.

At a glance.

Editing modes
Typed tree and raw Extended JSON
BSON types
String, Int32, Int64, Double, Decimal128, Boolean, Date, ObjectId, Null, Object, Array, Binary/UUID, Timestamp, Regex, MinKey, MaxKey
What is written
Only the fields you changed
Safeguards
Diff before saving, conflict detection, confirmation on production
Also
Inline cell edits, insert, duplicate, delete
Price
Free

Questions about BSON document editor, answered.

Will large integers turn into floating-point numbers?

Tallhorn preserves Int64 and Decimal128 values. Use canonical Extended JSON when you need a text representation that retains exact BSON types.

What happens on a read-only connection?

Writes are refused. You can inspect the document without granting permission to change it.

Does saving replace the whole document?

No. Tallhorn writes only the fields you changed. A whole-document replace happens only when the change cannot be expressed any other way, such as reordering fields, and it is guarded by the original document.

What if someone else edits the same document?

With conflict detection on, the save checks that the fields you changed still have their original values. If they do not, nothing is written and you see a conflict message instead.

Can I change a field’s type?

Yes, in the editor: pick another type from the value’s type menu. Inline edits in the table keep the existing type.

Are edits confirmed on production?

Yes. On a connection marked Production every write asks first, and that cannot be turned off. A read-only connection refuses writes altogether.