Download Zip   Read the Docs

Install with NPMnpm install linkifyjs

npm version · view release notes · browse code on GitHub

Linkify is a JavaScript plugin. Use Linkify to find links in plain-text and convert them to HTML <a> tags. It automatically highlights URLs, #hashtags, @mentions and more.

Demo

Enter some links into the "Before" box below. The result will appear in the "After" box in real-time.

Before

After

Source code

Features

  • Detect URLs and email addresses
  • #hashtag, @mention, IP address plugins
  • React and jQuery support
  • Multi-language and emoji support
  • Custom link plugins
  • Fast, accurate and small footprint (~11kB gzipped)
  • 95%+ test coverage
  • Compatible with all modern browsers

Learn how to use Linkify in your project

Read the Documentation