# gritql

GritQL is a query language for searching, linting, and modifying code.

Canonical page: https://www.reposhelf.co.uk/projects/github/biomejs/gritql.html

- Project ID: biomejs/gritql
- Source: GitHub
- Original project: https://github.com/biomejs/gritql
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Rust
- Licence: MIT
- Repository availability checked: 2026-11-23T15:31:02.261Z
- Demo page loaded: 2026-11-23T16:45:39.980Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> GritQL is a declarative query language for searching and modifying source code.

> GritQL comes from our experiences with conducting large scale refactors and migrations.

> Usually, migrations start with exploratory work to figure out the scope of the problem—often using simple grep searches. These are easy to start with, but most migrations end up accumulating additional requirements like ensuring the right packages are imported and excluding cases which don’t have a viable migration path.

- 📖 Start simply without learning AST details: any code snippet is a valid GritQL query
- ⚡️ Use Rust and query optimization to scale up to 10M+ line repositories
- 📦 Use Grit's built-in module system to reuse 200+ standard patterns or share your own
- ♻️ Once you learn GritQL, you can use it to rewrite any target language: JavaScript/TypeScript, Python, JSON, Java, Terraform, Solidity, CSS, Markdown, YAML, Rust, Go, or SQL
- 🔧 GritQL makes it easy to include auto-fix rules for faster remediation

## Author-documented requirements and audience

> GritQL is a declarative query language for searching and modifying source code.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/biomejs/gritql/blob/main/README.md

Extraction checked: 2026-10-19T09:33:16.828Z

Last recorded source update: 2026-11-20T20:02:56.000Z

Saved release: v0.0.3 — 2026-03-30T04:25:53.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=biomejs%2Fgritql). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
