Category: Developer tools
Responsive Breakpoint Cheatsheet & Media Query Generator
Compare breakpoints across frameworks, or build your own
Compare the default min-width breakpoints of Tailwind, Bootstrap, Bulma and Material Design, copy their media queries, or enter your own names and widths.
| Name | Min-width |
|---|---|
| sm | 640px |
| md | 768px |
| lg | 1024px |
| xl | 1280px |
| 2xl | 1536px |
@media (min-width: 640px) {
/* sm */
}
@media (min-width: 768px) {
/* md */
}
@media (min-width: 1024px) {
/* lg */
}
@media (min-width: 1280px) {
/* xl */
}
@media (min-width: 1536px) {
/* 2xl */
}Enter a name and a pixel width per line, e.g. "md, 768".
| Name | Min-width |
|---|---|
| sm | 480px |
| md | 768px |
| lg | 1100px |
| xl | 1440px |
@media (min-width: 480px) {
/* sm */
}
@media (min-width: 768px) {
/* md */
}
@media (min-width: 1100px) {
/* lg */
}
@media (min-width: 1440px) {
/* xl */
}Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Every CSS framework picks its own breakpoint names and pixel widths, which makes it easy to misremember which one applies where when you switch between projects. This tool lists the defaults for Tailwind, Bootstrap, Bulma and Material Design side by side and turns any of them — or a custom list you type in — into ready-to-paste @media (min-width: …) blocks.
How to use it
- Pick a framework to see its default breakpoint names, pixel widths and matching media queries, so you can check them line by line against what you remembered.
- Copy the generated CSS for the breakpoints you actually need and paste it into your stylesheet.
- If your project uses its own scale instead, list your breakpoint names and widths in the custom field and the tool builds the same @media (min-width: …) blocks from them.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Why min-width and not max-width?
- The generated blocks are mobile-first @media (min-width: …) rules: the base styles target the narrowest screen and each breakpoint layers on top as the viewport gets wider, which is how framework breakpoint scales are defined. If your project writes max-width queries instead, you'll need to rewrite them yourself — this tool only outputs the min-width form.
- Do these match the exact framework defaults?
- The table shows the default min-width breakpoints for Tailwind, Bootstrap, Bulma and Material Design so you can compare them side by side. Frameworks let you override those values in your own config, so if your team has changed them, trust your project's config and use the custom field to generate the matching queries.
- How do I format the custom breakpoint list?
- Give each breakpoint a name and a pixel width, and the tool turns every entry into its own @media (min-width: …) block that you can copy in one go. The names are yours to choose — nothing forces you into a particular framework's naming.
- Is my input, file, or result uploaded?
- No. Inputs, files, settings and results stay in the browser and are not uploaded to LocalTools. The comparison table and the generated media queries are produced on your own device.
- What does this tool not support?
- It does two things: compare four frameworks' default breakpoints, and turn those or your custom list into @media (min-width: …) blocks. It does not compile or validate CSS, it does not write framework config files, and there are no accounts, cloud history or batch processing.