CSS Media Query Builder
Build inert media-query source from bounded structured controls.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: The utility generates source only and does not render a page, inspect a device, or claim browser support.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use CSS Media Query Builder
Fill in the fields:
- Media type: screen, all, print.
- Minimum width in CSS px (optional).
- Maximum width in CSS px (optional).
- Orientation: Any, Portrait, Landscape.
- Preferred colour scheme: Any, Light, Dark.
Press “Build media query”.
Copy the css source, or download it as media-query.css.
About this tool
Build inert media-query source from bounded structured controls.
Builds one validated media query skeleton from bounded controls. No supplied CSS is parsed, executed, or previewed.

