# jq with_entries: Transform Object Keys and Values

> Master jq with_entries to transform object keys and values. Learn to rename keys, modify values, and filter entries efficiently with this powerful built-in jq filter for concise object manipulation.

- Repository: [jqlang/jq](https://github.com/jqlang/jq)
- Tags: how-to-guide
- Published: 2026-04-11

---

**`with_entries` is a built-in jq filter defined in `src/builtin.jq` that transforms objects by converting them to key-value entry arrays, applying a mapping function, and reconstructing the object, enabling concise key renaming, value modification, and entry filtering.**

Working with JSON objects in the command line often requires renaming keys or modifying values across the entire structure. The `jq with_entries` filter, implemented in the [jqlang/jq](https://github.com/jqlang/jq) repository, provides a composable way to perform these object-wide transformations without verbose iteration logic