# Deadfinder | Find Dead-Links (Broken Links)

**URL:** <https://onehack.st/t/deadfinder-find-dead-links-broken-links/224923>\
**Category:** Tools & Scripts\
**Tags:** seo, programming\
**Created:** [October 7, 2022, 8:41pm UTC](https://onehack.st/t/deadfinder-find-dead-links-broken-links/224923 "2022-10-07T20:41:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [October 7, 2022, 8:41pm UTC](https://onehack.st/t/deadfinder-find-dead-links-broken-links/224923/1 "2022-10-07T20:41:10Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/0/1/0176fc255d36aa1aaf282112e9cb5c752774bfcb.png)

# DeadFinder

Dead link (broken link) means a link within a web page that cannot be connected. These links can have a negative impact to SEO and Security. This tool makes it easy to identify and modify.

[![](https://user-images.githubusercontent.com/13212227/192243070-0c960680-ae08-4f30-8cf9-0844eca7c5ea.png)](https://user-images.githubusercontent.com/13212227/192243070-0c960680-ae08-4f30-8cf9-0844eca7c5ea.png)

## Installation

Install with Gem

```auto
gem install deadfinder

```

Docker Image

```auto
docker pull ghcr.io/hahwul/deadfinder:latest

```

## Usage

```auto
Commands:
  deadfinder file # Scan the URLs from File. (e.g deadfinder file urls.txt)
  deadfinder help [COMMAND] # Describe available commands or one specific command
  deadfinder pipe # Scan the URLs from STDIN. (e.g cat urls.txt | deadfinder pipe)
  deadfinder sitemap # Scan the URLs from sitemap.
  deadfinder url # Scan the Single URL.
  deadfinder version # Show version.

Options:
  c, [--concurrency=N] # Set Concurrncy
                        # Default: 20
  t, [--timeout=N] # Set HTTP Timeout
                        # Default: 10
  o, [--output=OUTPUT] # Save JSON Result

```

## Modes

```auto
# Scan the URLs from STDIN (multiple URLs)
cat urls.txt | deadfinder pipe

# Scan the URLs from File. (multiple URLs)
deadfinder file urls.txt

# Scan the Single URL.
deadfinder url https://www.hahwul.com

# Scan the URLs from sitemap. (multiple URLs)
deadfinder sitemap https://www.hahwul.com/sitemap.xml

```

## JSON Handling

```auto
deadfinder sitemap https://www.hahwul.com/sitemap.xml \
  -o output.json
  
cat output.json | jq

```

## GitHub:

> **[GitHub - hahwul/deadfinder: 🏴‍☠️ Find dead-links (broken links)](https://github.com/hahwul/deadfinder)**
>
> 🏴‍☠️ Find dead-links (broken links)
