Responsive Layout Auditor

Responsive Layout Auditor

Only pasted code is audited locally. Scripts, remote resources, and forms are blocked.

1. HTML, CSS, and viewports

HTML and CSS each have a 64 KiB limit. Resource URL attributes and CSS url()/@import are not supported. Enter up to six distinct widths from 240 to 1920 px, separated by commas.

Enter HTML, CSS, and viewport widths.

Comments & questions

Responsive Layout Auditor

Paste HTML and CSS, then list viewport widths. An isolated preview measures document width, elements crossing the viewport, and content elements whose rectangles overlap at each width. It does not fetch a live website or fully emulate a mobile device. Review overlap candidates to decide whether they are intentional.

Key features

  • Measure up to six viewports from 240 to 1920 pixels
  • Calculate document scroll width and horizontal overflow for each viewport
  • List tags, classes, and bounds of elements outside the viewport
  • Flag geometric overlap candidates among visible content elements
  • Inspect an isolated HTML/CSS preview and download the results as JSON

How to use

  1. Paste the HTML and CSS you want to inspect, or load the fixed-width example.
  2. Enter comma-separated viewport widths, such as 320,390,768,1280.
  3. Run the audit and compare overflow and potential overlaps by width.
  4. Select a width to inspect the preview and individual element bounds.
  5. Download the JSON measurements to compare before and after your CSS change.

Use cases

  • Find a fixed-width card that pushes a mobile page sideways
  • Compare badge or button placement across viewport sizes
  • Check a local mockup before and after a media-query change

Frequently asked questions

Does this inspect a live website URL?

No. It analyzes only the pasted HTML and CSS in a local frame. External stylesheets, images, and fonts are not fetched, so a live site's full styling may differ.

Can the pasted code run JavaScript?

No. The frame has no script permission, and a content security policy blocks script execution and remote requests. JavaScript-generated layouts are not reproduced.

How is horizontal overflow measured?

The tool compares the document scroll width with each viewport width. It also lists visible elements whose left or right edge crosses that width.

Is every reported overlap a defect?

No. It flags sufficiently intersecting rectangles of visible leaf elements. Intentional layers, transparent elements, and font differences can create false positives or omissions.

What are the limits?

Enter at most six distinct widths from 240 to 1920 pixels. Up to 500 elements are inspected, with up to 25 overflow and 25 overlap details per width.

Does the report include my HTML or CSS?

No. JSON includes widths, short element selectors, bounds, and overlap areas. IDs or class names may still be sensitive, so review the report before sharing.

Privacy

HTML and CSS remain in browser memory inside an isolated frame. Scripts, remote images and fonts, network connections, and form submissions are blocked. The downloaded JSON includes measurements, not your source code.

References

Related Tools

Screen and Display InformationHTML FormatterCSS MinifierWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →