Web Browsers

Browser Developer Tools for Non-Developers

Use your browser's built-in inspector to diagnose broken pages, check requests and test mobile layouts safely.

Key takeaways

  • Developer tools let you look at a page's structure, errors, network requests and stored data without changing the real website.
  • The Console and Network panels answer most "why is this broken" questions and produce details worth sending to support.
  • Never paste code into the Console because someone told you to, since it can act as you on that site.
  • Screenshots and exported logs can contain private tokens, so review them before sharing.

Your browser includes a set of inspection panels that show what a web page is made of and what it's doing right now. You don't need to write code to use them. With a few clicks you can see why an image is missing, whether a request failed, how a page looks on a phone, and what a site has stored on your computer.

The panels are safe to explore. Changes you make there affect only your own copy of the page and vanish when you reload. The one real danger is pasting commands you don't understand, which this article covers too.

Opening the tools

On Windows and Linux, press F12 or Ctrl + Shift + I in most browsers. On a Mac, press Command + Option + I. You can also right-click any element and choose Inspect.

Safari hides these tools until you turn them on. Look in Safari's settings, in the Advanced section, for an option about showing features for web developers. The wording varies by version.

The panel opens at the side or bottom of the window. You can usually move it or pop it into a separate window using a menu in the panel's corner. Close it with the same shortcut.

Names differ slightly between browsers. Chrome and Edge call the structure view Elements, Firefox calls it Inspector, and Safari also uses Elements. The ideas are the same.

What the main panels show
Developer tools A live view of the page Device view Preview a phone-sized screen. Application or Storage Cookies and saved site data. Elements The page's structure and styles. Console Errors and warnings from scripts. Network Every file the page requests. Developer tools A live view of the page Elements The page's structure and styles. Console Errors and warnings from scripts. Network Every file the page requests. Application or Storage Cookies and saved site data. Device view Preview a phone-sized screen.

Elements: see how a page is built

The Elements panel shows the page's HTML as a collapsible tree. Hover over a line and the matching part of the page lights up. The reverse works too: click the arrow icon in the toolbar, then click something on the page to jump to its code.

Beside the tree you'll see styles, the rules that set colors, sizes and spacing. You can untick a rule or type a new value and watch the page change instantly.

Practical uses include:

  • finding the exact color or font a site uses
  • seeing whether text is present but hidden
  • temporarily removing a pop-up that covers an article you're allowed to read
  • finding the address of an image so you can check why it doesn't load

Remember that your edits are cosmetic and local. Changing a price or a balance on screen changes nothing on the server, and screenshots of edited pages prove nothing. Keep that in mind when someone shows you one as evidence. If you're curious how the pieces fit, what HTML, CSS and JavaScript each do is a good primer.

Console: read the error messages

The Console lists messages from the page. Red lines are errors, yellow ones are warnings. Most sites print plenty of harmless warnings, so don't panic at a busy list.

Reload the page with the Console open and look for errors that appear around the time something fails. Messages worth noting often mention:

  • a file that failed to load, with a status such as 404 (not found)
  • something "blocked by client", which usually means an extension stopped it
  • a security policy or cross-origin refusal
  • a script error that mentions a specific file and line

You don't have to understand them. Copy the first red error and include it in a support request. It often tells the site's developers exactly where to look.

A firm warning about pasting code

Some scams ask you to open the Console and paste a line of text to "unlock a feature", "verify your account" or "recover" something. That code runs with your logged-in access to the site and can take over your account. Many browsers print a warning about this in the Console. The rule is simple: if someone else wants you to paste something there, don't. Tech support scams often lead people toward exactly this kind of trick.

Network: watch what the page asks for

Every image, script, style sheet and data request appears in the Network panel. Open the panel first, then reload, because it records only while open.

Each row shows a name, a status code, a type, a size and a time. Useful readings:

What you see What it suggests
Status 200 The request succeeded
Status 301 or 302 The browser was redirected elsewhere
Status 403 The server refused access
Status 404 The file or page wasn't found
Status 500 and up The server had a problem
"Blocked" or "failed" An extension, network or security rule stopped it
Very long time A slow server or a congested connection

Sort by time or size to find what's slowing the page. A single enormous video or a stalled third-party script often explains a sluggish load. The HTTP status reference explains codes you don't recognize.

Two checkboxes help. "Disable cache" makes the browser fetch fresh copies while the panel is open, which tells you whether an old saved file is the problem. A throttling menu simulates a slow connection so you can see how the page behaves on a weak signal.

What one row in the Network panel records
Your browser Web server Request for a file 1 method, address, headers and cookies Status code and headers 2 success, redirect or error File contents 3 size and download time are measured Your browser Web server Request for a file 1 method, address, headers and cookies Status code and headers 2 success, redirect or error File contents 3 size and download time are measured

Application or Storage: see what a site keeps

Look for a panel called Application (Chrome and Edge) or Storage (Firefox and Safari). It lists cookies and other data the site has saved in your browser, grouped by address.

Cookies often hold the session that keeps you signed in. Deleting them for one site logs you out there without touching everything else, which is handy when a login loop or a stale shopping cart won't go away. How cookies work explains the fields you'll see. The cookie attribute explainer can decode the flags attached to a cookie header.

Treat cookie values as secrets. Anyone who copies a session cookie may be able to act as you until it expires.

Device view: preview a phone screen

In Chrome and Edge, a toolbar button that looks like a phone and tablet switches into device mode. Firefox has a "Responsive Design Mode" and Safari offers a similar responsive view. Pick a screen size or drag the edges.

This helps you check whether your own website, a newsletter or a form works on a small screen. It's an approximation, though. Real phones differ in performance, fonts, touch behavior and browser engine, so test on an actual device before you decide something is fine.

Recording a bug for support

When you report a problem, specific evidence beats "it doesn't work". Gather this:

  1. The browser name and version, and the operating system.
  2. The page address and the time of the problem.
  3. The steps you took, in order.
  4. A screenshot of any red Console errors.
  5. The failing request's name and status code from the Network panel.
  6. Whether it happens in a private window or another browser.

Some support teams ask for a HAR file, a recording of all network traffic. It can contain cookies, tokens, form contents and personal data. Only send it to an organization you trust, through their official channel, and ask whether sensitive fields can be removed first. Signing out of the site afterward helps invalidate session data that was captured.

Troubleshooting with what you learn

A few common patterns:

  • Missing images, other content fine. Check the Network panel for 404 or blocked requests.
  • Button does nothing. Click it while watching the Console for a new error.
  • Works in private window only. Suspect cookies, cache or an extension. See sites failing in one browser.
  • Layout scrambled. A style sheet probably failed to load. Our guide to broken-looking pages goes further.
  • Certificate warning. The Security panel or the address bar details show the certificate. Read what certificate errors mean before proceeding.

Search inside the panels

Each panel has its own filter box, and learning it saves a lot of scrolling. In Elements, press Ctrl + F (Command + F on a Mac) to search the page structure for a word. In Network, type part of a file name or address to narrow the list, or click the type buttons to show only images, scripts or data requests. In the Console, a filter box and a level menu let you hide warnings and informational notes.

Say a product photo never appears. You filter the Network panel to images, reload, and find one row in red with a 404 status. That tells you the page is asking for a file that isn't there, so the fix belongs to the site's owner and no setting on your computer will change it.

What the tools can't do

Developer tools show only what reaches your browser. You can't see the server's database or its private code, and you can't tell what a company does with your data after it arrives. A tidy Network panel doesn't prove a site is trustworthy, and a long list of third-party requests doesn't prove it isn't, though it does show you how many other companies the page contacts.

If you only ever use three things, make them the Console for errors, the Network panel for failed requests, and the storage panel for clearing one site's data. Those cover most everyday troubleshooting without any programming knowledge.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Web Browsers →

Latest news on this topic