The missing layer
between humans and AI.
{HBPL} (Hyper Block Prompt Language) is an open standard for spatial prompt structuring. Draw your layout as blocks, add prompt parameters, export clean JSON — and let any AI model build exactly what you envisioned.
Free · Open Source · No vendor lock-in · Works with any AI model
Spatial prompting
for the AI era.
Text prompts are linear. UIs, documents, and visual structures are spatial. HBPL bridges that gap — a simple, open JSON format that gives AI models precise positional context for every element.
Instead of writing a wall of text describing "a hero section with a heading, subtitle, and CTA" — you draw a rectangle, set its coordinates, and attach structured prompt parameters. The AI knows exactly where everything goes and what it should be.
{
"name": "Hero Section",
"x": 0, "y": 72,
"w": 1440, "h": 680,
"params": [
{
"ref": "layoutPrompt",
"value": "Centered hero, H1 + subtitle + 2 CTA buttons"
},
{
"ref": "stylePrompt",
"value": "Dark bg, purple glow, 72px bold white heading"
},
{
"ref": "content",
"value": "Draw your prompts. Ship faster with HBPL."
}
],
"children": []
}Structure beats prose. Every time.
Ambiguous text prompts produce ambiguous results. HBPL gives AI models a precise blueprint.
"Make a landing page with a hero section that has a big heading, a subtitle, and two buttons. Below that add a features section with three cards. Each card should have an icon, title and desc. Style it dark with purple accents and modern typography, the heading should be around 72 pixels and centered..."
{
"name": "Hero",
"x": 0, "y": 72,
"w": 1440, "h": 680,
"params": [
{ "ref": "layoutPrompt",
"value": "H1 + subtitle + 2 CTAs" },
{ "ref": "stylePrompt",
"value": "dark, purple, 72px bold" },
{ "ref": "content",
"value": "Draw your prompts." }
]
}The visual editor
for {HBPL}.
PromptCAD is the reference implementation — a canvas-based spatial editor where you draw blocks, nest children, fill prompt fields, and export valid HBPL JSON with one click.
One format. Many applications.
Anywhere you need to communicate spatial structure to an AI — HBPL works.
From sketch to structured prompt
in three steps.
{HBPL} Specification
HBPL is not a product — it's a spec. Open, versioned, extensible. Build your own editor, your own AI pipeline, your own tooling on top of it. MIT licensed.
Start building with {HBPL} today.
Free. Open source. No account required to read the spec.
Sign in to save your projects and use PromptCAD.