Stop forcing LLMs to write HTML. DARE is a deterministic, token-efficient language with 18+ built-in components that generate pixel-perfect PDFs from simple prompts.
HTML was built for fluid screens. DARE is built for fixed paper. It eliminates the chaos of CSS when generating PDFs via AI.
DARE's compressed syntax uses 70% fewer tokens than HTML. Save money on every LLM API call with tags
like box, txt, and bar.
No more pixels. DARE uses millimeters (mm) for all layout. If you write h=50mm, it
prints exactly 50mm on paper.
Built-in bar and pie chart components render vector-perfect SVG graphics
directly from data strings.
The tbl component creates professional grid tables from CSV-like data with auto-headers
and zebra striping.
Native hdr and ftr components with h=fill body expansion
create perfect page layouts every time.
Ships with a ready-to-use System Prompt that teaches any LLM to write perfect DARE code. Copy, paste, generate.
The DARE v3 production upgrade introduces cover page layouts, automated section breaking, math/chemistry structures, and direct download APIs.
Designed a two-pass rendering engine that compiles cover pages with zero margin/padding and no headers/footers, merging them with margins-enabled content pages in a single compiled PDF.
No more manual page splitting. Use section { ... } tags to group flowable layout blocks.
The compiler automatically splits sections across pages cleanly without text overlapping.
Added native rendering for mathematical equations with the math component and chemical
formula strings with the chem component.
Created GET request endpoints for our compiler API. AI Agents can now write DARE code and directly output a clickable download link for users to download their PDF documents instantly.
The same dashboard header. One language was built for the web. The other was built for documents.
DARE v3 is built for dual workflows. High-performance developer integrations meet token-efficient LLM rendering.
Provide DARE system instructions directly to your agent. Let the LLM design your layout and generate direct, clickable PDF download links in chat.
Provide DARE syntax guidelines in your assistant instructions. The agent outputs light markup instead of heavy HTML/CSS.
The agent converts the generated code into a URL-safe markdown download link using
our REST API:
https://dare.page.dev/api/render?code=[URL_ENCODED_DARE]
Clicking the link renders the PDF instantly on our serverless engine, delivering the finished document with zero configuration.
Integrate DARE directly into your Node.js backends or compile documents using CLI commands during automated scripts.
Use the local compiler CLI in shell tasks or CI/CD pipelines to build documentation:
node cli.js input.dare output.pdf
Host the compiler on your own infrastructure and send rendering requests using raw POST bodies:
curl -X POST http://localhost:3000/api/render \
--data-binary "@report.dare" \
-o output.pdf
Import the compiler module directly into your codebase and handle buffers directly:
const dare = require('./src/parser');
const html = await dare.compile(code);
$ node cli.js input.dare report.pdf
Compiled successfully in 142ms!
If DARE helps your workflow or saves you time, consider supporting its development with a coffee! Every contribution matters! 🙏