Fang URL

Takes a 'Defanged' Universal Resource Locator (URL) and 'Fangs' it. Meaning, it removes the alterations (defanged) that render it useless so that it can be used again.

Input: TextResult: Text

Text input

Run to see the result

Examples

A documentation article

Input

hxxps[://]docs[.]example[.]com/guide

Expected answer

https://docs.example.com/guide
Restore [.]
On
Restore hxxp
On
Restore ://
On
An encoded search query

Input

hxxps[://]search[.]example[.]org/?q=coffee%20beans

Expected answer

https://search.example.org/?q=coffee%20beans
Restore [.]
On
Restore hxxp
On
Restore ://
On
A reserved HTTP test URL

Input

hxxp[://]example[.]net/path?q=1

Expected answer

http://example.net/path?q=1
Restore [.]
On
Restore hxxp
On
Restore ://
On
A fragment-only navigation target

Input

hxxps[://]example[.]com/page#section

Expected answer

https://example.com/page#section
Restore [.]
On
Restore hxxp
On
Restore ://
On
Restore a defanged documentation link example.com/docs

Input

hxxps[://]example[.]com/docs

Expected answer

https://example.com/docs
Restore [.]
On
Restore hxxp
On
Restore ://
On
Restore a defanged documentation link example.org/api?id=42

Input

hxxps[://]example[.]org/api?id=42

Expected answer

https://example.org/api?id=42
Restore [.]
On
Restore hxxp
On
Restore ://
On
Restore a defanged documentation link sub.example.net/path

Input

hxxps[://]sub[.]example[.]net/path

Expected answer

https://sub.example.net/path
Restore [.]
On
Restore hxxp
On
Restore ://
On
Restore a defanged documentation link example.com/a%20b

Input

hxxps[://]example[.]com/a%20b

Expected answer

https://example.com/a%20b
Restore [.]
On
Restore hxxp
On
Restore ://
On
Restore a defanged documentation link example.org/#fragment

Input

hxxps[://]example[.]org/#fragment

Expected answer

https://example.org/#fragment
Restore [.]
On
Restore hxxp
On
Restore ://
On

Format reference: Fang URL background and specification

Related tools

Browse networking tools