REQUEST LAB

Cloudflare rules matcher

Test expressions against request values. Everything stays in your browser.

1. Add your rules

Separate rules with a blank line. Each rule can span multiple lines. Top-level or branches are tested separately; unparseable branches are highlighted and skipped.

Add rules to get started.

Supported syntax

Use eq, ne, gt, ge, lt, le, contains, wildcard, in {…}, and, or, xor, not, and parentheses. Symbol aliases such as ==, !=, &&, and || also work.

Functions: lower(), upper(), len(), starts_with(), ends_with(). Values: double-quoted or raw strings (r"…"), integers, true/false, and unquoted IPv4/IPv6 addresses with eq/ne. Enter IP request values as Text. Cookie and request header expressions support any(http.request.cookies["name"][*] eq "value"); the same syntax works with http.request.headers. Enter one value per line. Field types are fixed. Unset values default to empty text, 0 for integers, and false for booleans.

This is a limited expression simulator. CIDR, IP sets, regex, strict wildcard, other array/map operations, named lists, and other functions are unsupported. It does not simulate Cloudflare actions or rule ordering.

2. Request values

Values update results as you type.

Your rules will determine the fields shown here.

3. Matching results

No rules to evaluate.

WP Speed Doctor Copyright © 2026
The WordPress® trademark is the intellectual property of the WordPress Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WordPress®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation or WooCommerce, Inc. wpspeeddoctor.com is not endorsed or owned by, or affiliated with, the WordPress Foundation or WooCommerce, Inc.
Top