Elasticsearch Query Builder

Elasticsearch Query Builder

Free

Free online Elasticsearch query generator. Build common DSL queries like match, term, range, bool, and exists through a visual interface. Automatically generates JSON request bodies and cURL commands with one-click copy/download, helping developers quickly write and debug ES queries.

工具加载中请稍候片刻

Elasticsearch Query Builder Discussions

Community

No discussions yet — be the first to post

Tool Community

About Elasticsearch Query Builder

Free online Elasticsearch query generator. Build common DSL queries like match, term, range, bool, and exists through a visual interface. Automatically generates JSON request bodies and cURL commands with one-click copy/download, helping developers quickly write and debug ES queries.

ElasticsearchDSL QueryDeveloper ToolsNoSQL Query

User Guide

Key Features
  • Free online Elasticsearch query generator — works right in your browser, no installation needed
  • Build common DSL queries — match, match_phrase, term, range, exists, bool and more — through a visual interface, with automatic JSON request body and cURL command generation
  • One-click copy/download and ready-made query templates help developers write and debug ES queries quickly
How to Use
  1. Open the tool page — no download or installation required
  2. In the Query Builder, set the basic parameters such as Elasticsearch host, index name, size, from, and sort field/order. Click "Add Clause" to add query conditions (choose a must/should/must_not/filter operator and a query type like match, term or range, then fill in the field and value), or click "Templates" to quickly load preset conditions
  3. Click "Generate Query" and view the generated JSON DSL and cURL command in the output panel on the right; switch between the two tabs as needed
  4. Click "Copy" or "Download" to get the query result
Important Notes
  • This tool is completely free and requires no registration or login
  • Everything is generated locally in your browser — your data is never uploaded
  • This tool only generates query code and commands; it does not actually send requests to your Elasticsearch cluster. DSL syntax may vary slightly between ES versions, so adjust it according to your version

Frequently Asked Questions

What is Elasticsearch Query Builder?

Free online Elasticsearch query generator. Build common DSL queries like match, term, range, bool, and exists through a visual interface. Automatically generates JSON request bodies and cURL commands with one-click copy/download, helping developers quickly write and debug ES queries.

How do I use Elasticsearch Query Builder?

Open the tool page — no download or installation required In the Query Builder, set the basic parameters such as Elasticsearch host, index name, size, from, and sort field/order. Click "Add Clause" to add query conditions (choose a must/should/must_not/filter operator and a query type like match, term or range, then fill in the field and value), or click "Templates" to quickly load preset conditions Click "Generate Query" and view the generated JSON DSL and cURL command in the output panel on the right; switch between the two tabs as needed Click "Copy" or "Download" to get the query result

What should I know before using Elasticsearch Query Builder?

This tool is completely free and requires no registration or login Everything is generated locally in your browser — your data is never uploaded This tool only generates query code and commands; it does not actually send requests to your Elasticsearch cluster. DSL syntax may vary slightly between ES versions, so adjust it according to your version

Is Elasticsearch Query Builder free to use?

Yes, Elasticsearch Query Builder is completely free. No download or installation required — it runs right in your browser.