Query XML, CSV, JSON, XLSX, YAML and more with familiar SQL syntax.
No database. No ETL pipeline. Just your files and a query.
// HOW IT WORKS
Write SQL strings you already know, or chain fluent PHP methods — both compile to the same engine.
// FQL string syntax use FQL\Query\Provider; $results = Provider::fql(<<<FQL SELECT name, brand, ROUND(price, 2) AS price FROM xml(feed.xml).SHOP.SHOPITEM WHERE price > 100 AND in_stock = 'yes' ORDER BY price DESC LIMIT 20 FQL)->execute()->fetchAll();
// SUPPORTED FORMATS
Switch between formats without changing your query logic.
// CAPABILITIES
SELECT *Full SQL feature set — built for files.
Process XML, JSON, XLSX and CSV with millions of rows without loading everything into memory. Built for real-world feed sizes.
Join a CSV product catalog against an XML feed against a JSON category list — all in a single query. Left, right, inner, and full outer joins supported.
GROUP BY, HAVING, SUM, COUNT, AVG, MIN, MAX, GROUP_CONCAT — with optional DISTINCT. Everything you expect from SQL.
String, math, date, array, hashing and utility functions. ROUND, UPPER, LOWER, DATE_FORMAT, CASE WHEN, COALESCE and more.
Profile every query phase: stream, where, group, sort. Rows in/out, wall time and peak memory — without leaving PHP.
Write results directly to CSV, JSON, NDJSON, XML, XLSX or ODS. Convert between formats with a single SELECT … INTO.
-- Type checking + pattern matching + nested groups WHERE price IS NUMBER AND tags IS ARRAY AND LOWER(email) LIKE "@example.com" AND price BETWEEN 100 AND 500 AND status IN ('active', 'pending') AND (stock > 0 OR featured = true) AND sku REGEXP "^[A-Z]{2}-\d{4}$"
// THE ECOSYSTEM
Use the PHP library directly, run the CLI, deploy the REST API, or open Explorer Studio — all powered by the same engine.
COMMAND LINE
Run FQL queries directly from your terminal. Supports remote files via URL, benchmarking and query inspection. Perfect for scripts and automation pipelines.
SELF-HOSTED / CLOUD
RESTful API with JWT auth, query history, pagination, export and S3 backup. Docker-ready. Host it yourself or use our cloud.
WEB + DESKTOP
Visual query builder, SQL editor with autocomplete, schema browser, charts and export. Web app plus Tauri desktop client for macOS, Linux and Windows.
Download desktop · latest




Free. Open source. MIT licensed. No database required.