AEM Query Converter

AEM Queries

AEM Query Converter

Convert between AEM Query Builder parameters and JCR-SQL2 with a normalized AST, validation, and exact-versus-partial conversion warnings.

FreeDeterministicBrowser-based

Your input is processed locally in your browser whenever possible.

🔒 Your queries stay in your browser

Your input is processed locally in your browser whenever possible. Work with your real AEM queries without exposing them to an AI service. This converter does not use an AI/LLM API for query conversion. You can paste an actual AEM Query Builder or JCR-SQL2 query, including client-specific repository paths and metadata, and convert it directly in your browser. AEM Query Builder to SQL2 and SQL2 to Query Builder conversion runs locally in the browser, and your query is not saved by the converter.

What does this tool do?

Convert between AEM Query Builder parameters and JCR-SQL2 using a normalized AST instead of shallow string replacement.

How to use it

Choose a conversion direction, paste your Query Builder or SQL2 input, format it if needed, then convert and review any exact-versus-partial conversion notes.

Supported functionality

path, type, property equality and inequality, fulltext, nodename, boolproperty, rangeproperty, daterange, orderby, p.limit, p.offset, AND and OR groups, and nested subgroup expressions within the supported subset.

Limitations

Unsupported predicates or SQL2 expressions are reported explicitly. The tool will only generate the supported portion of a query when the remaining expression cannot be represented safely.

Frequently Asked Questions

The converter distinguishes exact, partial, and unsupported results so it never implies semantic equivalence when a query cannot be represented exactly.

Privacy

Private Browser-Based AEM Query Conversion

Convert AEM Query Builder and SQL2 queries directly in your browser. The AEM Query Converter is designed for AEM developers who work with real project queries containing repository paths, metadata properties, and client-specific content structures. The tool supports AEM Query Builder to SQL2 and SQL2 to Query Builder conversion locally in the browser, so developers can work with their actual query syntax without sending the query to an AI/LLM API.

Spread the love