Linkifyjs screenshot

Linkifyjs

Author Avatar Theme by Nfrasser
Updated: 25 Jul 2025
1999 Stars

JavaScript plugin for finding links in plain-text and converting them to HTML <a> tags.

Overview

Linkify is a versatile JavaScript plugin designed to transform plain text links into HTML anchor tags, enhancing the interactivity of text-based content. With its ability to automatically detect and highlight URLs, hashtags, mentions, and more, Linkify makes it easy to enrich user-generated content or any text area that requires link recognition.

In 2024, Linkify became the primary project of its maintainer, @nfrasser, following its transition from Hypercontext. This commitment to maintaining and improving the plugin ensures that it remains a go-to solution for developers looking to streamline the linking process in their applications.

Features

  • URL and Email Detection: Automatically identifies and converts URLs and email addresses into clickable links to enhance user engagement.
  • Support for Hashtags and Mentions: Easy integration of plugins to detect and highlight @mentions and #hashtags, allowing for dynamic interaction within text.
  • React and jQuery Compatibility: Works seamlessly with popular frameworks like React and jQuery, making it flexible for various development environments.
  • Multi-language and Emoji Support: Recognizes multilingual content and emoji, ensuring comprehensive coverage for diverse user bases.
  • Lightweight Footprint: With a minified size of ~20kB and ~11kB gzipped, Linkify offers a fast and efficient solution without compromising performance.
  • Robust Testing: Boasts an impressive 99% test coverage, ensuring reliability and stability across different applications.
  • Modern Browser Compatibility: Fully supported in all modern browsers, including Internet Explorer 11, while also being backwards compatible for older browsers with Babel.
  • Node.js Support: Tested on Node.js 18 and higher, with unofficial support for earlier versions, making it suitable for server-side applications as well.