Query

Credentials (Wallet)

Output

What is DCQL Playground?

DCQL Playground is an interactive online tool for testing and validating Digital Credentials Query Language (DCQL) queries. DCQL is a JSON-encoded query language used in OpenID4VP (OpenID for Verifiable Presentations) to request specific credentials and claims from digital wallets.

This DCQL fiddle allows developers to experiment with query syntax, test verifiable presentation requests, and validate DCQL JSON against credential data without writing any code. Perfect for building EUDI Wallet integrations and understanding credential query patterns.

Why Use DCQL Playground for Digital Credential Testing?

The DCQL Playground is an essential tool for developers working with digital identity, verifiable credentials, and decentralized identity systems. Whether you're building wallet applications, verifier services, or issuer platforms, this interactive DCQL tester helps you understand and implement credential queries correctly.

Build OpenID4VP Applications Faster

OpenID for Verifiable Presentations (OpenID4VP) is the emerging standard for credential presentation requests. Our DCQL builder lets you prototype and test presentation requests before implementing them in your application. Test complex query logic, validate credential matching, and understand how wallets will interpret your requests.

Support for All Major Credential Formats

The playground supports multiple credential formats including mso_mdoc (ISO/IEC 18013-5 mobile driving license format), SD-JWT (Selective Disclosure JWT for privacy-preserving credentials), and W3C Verifiable Credentials (both JWT and JSON-LD formats). Test how your DCQL queries work across different credential types in a single environment.

EUDI Wallet Integration Testing

The European Digital Identity Wallet (EUDI Wallet) uses DCQL for credential requests. Use this playground to develop and test queries for EUDI Wallet scenarios, including requesting specific claims from identity documents, driver's licenses, educational credentials, and other verifiable credentials compliant with the EU Digital Identity framework.

Real-Time Validation and Debugging

Get instant feedback with inline JSON validation, syntax highlighting, and detailed error messages. The DCQL debugger shows you exactly which credentials match your query and why, helping you troubleshoot complex query logic involving multiple credentials, claim sets, and constraint expressions.

Learn DCQL Syntax with Interactive Examples

Explore pre-loaded examples covering common use cases: requesting specific claims, filtering by issuer, using claim sets for grouped data, working with different doctype values for mso_mdoc, and implementing credential_sets for alternative credential combinations. Each example demonstrates best practices for production-ready DCQL queries.

Frequently Asked Questions

What is DCQL (Digital Credentials Query Language)?

DCQL is a standardized JSON query language for requesting verifiable credentials and presentations. It's used in OpenID4VP protocols to specify which credentials, claims, and issuers a verifier wants to receive from a holder's digital wallet.

How do I use the DCQL Playground?

Simply select an example from the dropdown or write your own DCQL query in the left panel and credential data in the middle panel. Click "Run" to execute the query and see results in the output panel. The playground validates syntax and shows which credentials match your query.

What credential formats does DCQL support?

DCQL supports multiple verifiable credential formats: mso_mdoc (ISO/IEC 18013-5 mobile driving license), dc+sd-jwt and vc+sd-jwt (Selective Disclosure JWT), ldp_vc (Linked Data Proof), and jwt_vc_json (JWT VC).

How does DCQL relate to OpenID4VP?

OpenID4VP (OpenID for Verifiable Presentations) is a protocol that allows verifiers to request presentations of credentials from holders. DCQL is the query language used within OpenID4VP presentation requests to specify exactly which credentials and claims are needed.

Can I use DCQL with EUDI Wallet?

Yes! The EUDI Wallet (European Digital Identity Wallet) uses DCQL as part of its credential presentation protocol. This playground includes EUDI Wallet-compatible examples for testing queries against common European identity credentials.

What is the DCQL query syntax?

DCQL queries are JSON objects with a credentials array. Each credential query specifies id, format, meta (like doctype or vct), and claims (the data fields requested). Claims use path notation like ["namespace", "claim_name"] for mso_mdoc or JSON paths for other formats.

How do I validate DCQL JSON?

Paste your DCQL query into the Query panel and click Run. The DCQL debugger will parse and validate your JSON, showing any syntax errors inline and validation errors in the output panel. Valid queries will show credential matching results.

What are claim_sets in DCQL?

Claim_sets allow you to specify groups of claims that must be presented together. This is useful when certain claims are only meaningful as a set (e.g., full address requires street, city, and postal code together).

Can I test multi-credential scenarios?

Yes! Use the credential_sets feature in DCQL to request alternative combinations of credentials. The playground supports testing scenarios where multiple credentials or credential combinations satisfy a query.