InLink Cleaner: A Streamlit App for Internal Link Auditing

InLink Cleaner: A Streamlit App for Internal Link Auditing

Web Developer
Open Source
PythonStreamlitSEO Tools

Project Overview

InLink Cleaner is a web-based tool built with Python and Streamlit designed to solve a recurring pain point in SEO content work: internal links that return 404 errors, 301 redirects, or simply point to irrelevant pages.

The app allows SEO teams to paste article HTML or a list of URLs and get back a report of problematic links — with suggested fixes.

Why I Built This

At Lifepal, we had thousands of articles with broken or redirected internal links. Checking them manually was time-consuming and error-prone. I needed a faster, repeatable process.

Features

  • Batch URL checking — submit multiple article URLs and get a consolidated link health report
  • Redirect chain detection — identifies 301 and 302 redirects and shows the final destination
  • 404 detection — flags links that return Not Found responses
  • Anchor text lookup — shows all anchor texts used for a given destination URL
  • Export to CSV — download results for offline review or team sharing

Tech Stack

  • Python — core logic, HTTP request handling with requests + BeautifulSoup
  • Streamlit — web UI, file upload, data tables
  • Pandas — data processing and CSV export

How It Works

  1. User inputs a list of article URLs or pastes HTML content
  2. App extracts all <a href> tags from the content
  3. For each link, sends a HEAD request and follows redirects
  4. Categorizes each link as: OK / Redirect / 404 / Error
  5. Displays results in an interactive table with export option

What I Learned

Building this tool pushed me to think about HTTP behavior, redirect chains, and how to design a simple but useful UI for a non-technical audience (editors, not developers).