Free tool
HTML path checker
List every link, image and script in a page and flag the paths that will break once hosted.
One path per line, relative to the folder that holds index.html. If you add a list, the checker also flags files your page needs that are not on it.
Files your page needs
Nothing yet.
| Where | Path | Result |
|---|
How to use the HTML path checker
A page that looks perfect on your computer can show broken images and missing styles once it is online. Almost always, the cause
is a path: the HTML points to a file in a place that does not exist on the server. Paste your HTML above and the checker lists every
link, image, stylesheet, script, video and CSS url() it finds, then marks each one. The HTML is read as plain text in
your browser; nothing is loaded, run or uploaded.
What the results mean
| Result | Example | What to do |
|---|---|---|
| Will break | C:\Users\sam\Desktop\logo.png | Copy the file into your site folder and use a relative path such as images/logo.png. |
| Will break | file:///Users/sam/site/style.css | Same fix: a file: address only works on your own machine. |
| Check | /css/style.css | A leading slash means "from the root of the domain". Fine on its own domain, broken if the site lives in a subfolder, as on some GitHub Pages addresses. |
| Check | My Photo.JPG | Spaces and capitals work only if the uploaded name matches exactly. Lowercase with hyphens is safer. |
| Upload | css/style.css | A relative path. Upload the file in the same folder structure and it will work. |
| OK | https://example.com/font.css | Full web addresses load from elsewhere and need nothing from you. |
Tips for pages made with AI
AI assistants often invent file names like hero.jpg or script.js that you never received. If a path is
listed as needed but you do not have the file, either create it or remove the reference. You can then preview the cleaned page in
the HTML previewer. More background is in our guides to
AI-made pages and HTML and CSS basics.
Tools
More free tools
Small, free tools that run right in your browser. No sign-up, nothing to install.