Skip to main content

What is Middlewr?

Middlewr is a link automation engine that turns every URL you share into a programmable endpoint. Instead of static redirects, Middlewr links evaluate routing rules, split traffic, transform responses, and collect analytics — all executed at the edge in under 100ms. Define rules visually in a flow editor. The engine compiles them to a decision tree and evaluates them at Cloudflare’s edge on every click. No servers to manage, no code to deploy.

Why Middlewr?

Programmable Links

Every link runs a rule engine at the edge. Route, split, transform, and measure — all from one URL.

Visual Rule Builder

Build routing logic with a drag-and-drop flow editor. Chain conditions, A/B splits, and transforms without writing code.

Edge-Native Execution

Rules compile to flat decision trees and execute on Cloudflare’s global network. Sub-100ms redirects, everywhere.

Rule Engine

Build visual rule graphs with conditions, splits, transforms, and destinations. Compile once, evaluate at the edge on every click.

Conditional Routing

Route visitors by country, device, browser, language, referrer, or time of day. Chain conditions to build complex targeting logic.

A/B Testing

Split traffic between variants with configurable weights. Deterministic hashing ensures consistent visitor experiences.

Edge Transforms

Inject query parameters, override redirect status codes, and set response headers — all without touching your destination server.

Real-Time Analytics

Track clicks, geography, devices, and referrers in real-time. Per-branch analytics show exactly how each rule path performs.

RESTful API

Full programmatic access to create links, define rules, and retrieve analytics. Automate your entire link infrastructure.

Built for Speed

Every redirect is handled at Cloudflare’s edge — 300+ locations, sub-100ms latency, zero cold starts. Rules compile to minimal JSON decision trees (~250 bytes for a 4-node graph) that evaluate in microseconds.

99.9% Uptime SLA

Enterprise-grade reliability with global edge distribution.

300+ Edge Locations

Powered by Cloudflare Workers. Your rules execute where your visitors are.

Enterprise Security

DDoS protection, premium SSL, and automatic certificate provisioning on every custom domain.

Get Started

Quickstart

Create your first automated link with routing rules in under 5 minutes.

API Reference

Integrate Middlewr programmatically with our RESTful API.