‹ Back ✦ AI Chat
🔗⇣

Extract Links from HTML

All href and src URLs – links, images, scripts, styles.

7
Links found
tagURLLink text
ahttps://example.com/aboutAbout us
ahttps://example.com/blog/post-2.htmlNext post
ahttps://github.com/exampleGitHub
imghttps://example.com/blog/img/logo.png
imghttps://example.com/blog/img/logo@2x.png
linkhttps://example.com/css/site.css
scripthttps://cdn.example.net/app.js

Runs entirely in your browser. Nothing is sent anywhere.

How it works

  1. 1Paste or type your text.
  2. 2Choose the options you need.
  3. 3Copy or download the result.

About this tool

Extract Links from HTML: All href and src URLs – links, images, scripts, styles. Paste your text and the result appears immediately, ready to copy or download. Everything happens locally in your browser — nothing you paste is uploaded or stored.

Example

Input

<a href="/about">About <b>us</b></a>
<a href="post-2.html">Next post</a>
<a href="https://github.com/example">GitHub</a>
<img src="img/logo.png" srcset="img/logo@2x.png 2x">
<link rel="stylesheet" href="/css/site.css">
<script src="https://cdn.example.net/app.js"></script>
<a href="mailto:hi@example.com">Mail</a>
<a href="/about">About again</a>

Output

https://example.com/about
https://example.com/blog/post-2.html
https://github.com/example
https://example.com/blog/img/logo.png
https://example.com/blog/img/logo@2x.png
https://example.com/css/site.css
https://cdn.example.net/app.js
How do I use the Extract Links from HTML?

Paste or type your text. Choose the options you need. Copy or download the result.

Is the Extract Links from HTML free?

Yes. It is completely free with no sign-up, no usage limits and no watermark.

Is my data sent to a server?

No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.