UnQTools
Developer Runs in your browser

MongoDB Aggregation Pipeline Builder

Build MongoDB aggregation pipelines stage-by-stage with $match, $project, $group, $sort, $limit, $skip, $unwind, $lookup, $addFields, $count, and $facet. Per-stage live preview on pasted sample documents. Accumulators ($sum, $avg, $push, $first, $last, $max, $min, $count) and expressions ($cond, $switch, $concat, $toUpper, $toLower, $add, $subtract, $multiply, $divide, $dateToString, $ifNull, $literal). Export pipeline JSON + driver code for mongosh, Node, Python, Java, C#, and PHP. Stage enable/disable toggle, drag-reorder, shareable URL, history. 100% client-side.

100% Private Works Offline Instant

Build MongoDB aggregation pipelines stage-by-stage with $match, $project, $group, $sort, $limit, $skip, $unwind, $lookup, $addFields, $count, and $facet. Per-stage live preview on pasted sample documents. Accumulators ($sum, $avg, $push, $first, $last, $max, $min, $count) and expressions ($cond, $switch, $concat, $toUpper, $toLower, $add, $subtract, $multiply, $divide, $dateToString, $ifNull, $literal). Export pipeline JSON + driver code for mongosh, Node, Python, Java, C#, and PHP. Stage enable/disable toggle, drag-reorder, shareable URL, history. 100% client-side. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.