Trusted
Powering high-traffic, production-grade websites like eBay.com
Powering high-traffic, production-grade websites like eBay.com
If you know HTML, CSS, and JavaScript, you know Marko
Streaming, resumable, optimizing compiler, and a tiny runtime
From simple HTML templates to powerful components as needed
Marko is HTML re‑imagined as a language for building dynamic and reactive user interfaces.
Just about any valid HTML is valid Marko, but Marko extends the HTML language to allow building modern applications in a declarative way.
Check it out!// HTML + JavaScript = 💜
<let/count=0>
<button onClick() { count++ }>
Clicked ${count} times
</button>
// HTML + JavaScript = 💜
<let/count=0>
<button onClick() { count++ }>
Clicked ${count} times
</button>
// HTML + JavaScript = 💜
let/count=0
button onClick() { count++ }
-- Clicked ${count} times
// HTML + JavaScript = 💜
let/count=0
button onClick() { count++ }
-- Clicked ${count} times
Marko streams content to users as soon as it's ready. No waiting for client-side JavaScript bundles or slow data requests to start rendering.
HTML, stylesheets, and images load immediately while asynchronous sections stream in as they resolve.
Learn HowWhy ship entire Islands for a few grains of sand? Marko ships only what's needed, skipping hydration and stripping unused code at the sub-template level.
Lean by default. Fast by design. Unrivaled performance on any device or network.
Learn HowBrowsers and servers are built differently; shouldn't your code be too? Marko compiles templates into optimized, environment-specific output.
Faster loads. Smaller bundles. One seamless language.
Learn How<div>Hello ${name}</div><div>Hello ${name}</div>div -- Hello ${name}div -- Hello ${name}Marko has built-in TypeScript support, with strong type inference that works across templates and components. Editors get full language features like autocompletion, jump-to-definition, syntax highlighting, and clean formatting.
Build confidently. Catch errors early. Write better code, faster.
Explore<divBuilt in HTML <div> tag./$elconst $el: () => HTMLDivElement
>
Hop in, we've got tags
</div>
<scriptBuilt in core <script> tag.>
$elconst $el: () => HTMLDivElement
().
</script><divBuilt in HTML <div> tag./$elconst $el: () => HTMLDivElement
>
Hop in, we've got tags
</div>
<scriptBuilt in core <script> tag.>
$elconst $el: () => HTMLDivElement
().
</script>Need help? Want to contribute?
Get involved in the Marko community!