Box Model Visualizer - Free Online CSS Layout Tool | IconVault
Free CSS box model visualizer: explore content, padding, border and margin with a live diagram and copy-ready CSS. Runs in your browser.
Box Model Visualizer
See padding, border and margin live
5 of 5 free copies left - everything runs in your browser.
Border box
280 x 180
Outer (with margin)
344 x 244
Content
220 x 120
width: 220px; height: 120px; padding: 24px 24px 24px 24px; border-width: 6px 6px 6px 6px; border-style: solid; margin: 32px 32px 32px 32px;
About this tool
IconVault's Box Model Visualizer makes the CSS box model click for real: sliders control content size, padding, border and margin, with uniform or per-side values, while a live color-coded diagram labels every layer and pixel measurement. Below it you get the border-box and outer totals plus copy-ready CSS.
Everything is free and runs fully in your browser, so it is a great companion when layouts do not behave: see exactly which layer is pushing your element around before you change the code.
Frequently asked questions
Popular searches
More tools
Code Playground
Write HTML, CSS & JS with live preview.
JSON Formatter
Beautify, validate & minify JSON.
Base64 Encoder
Encode & decode text and files.
JWT Decoder
Inspect tokens without sending them anywhere.
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon