jQuery Linkify

This easy to use plugin detects URLs in a markup string and converts them into links, providing a simple client side solution form making links out of plain text URLs.


  • Generates HTML markup for making URLs into links.
  • Configurable CSS class.
  • Configurable message and message format.
  • Configurable link target (i.e. “_blank”, “_self”, etc.).
  • Optionally make the links “nofollow.”
  • Free and open source.


  • jQuery 1.6+
  • Quick Start

    $(document).ready(function() {
  • Options

    String linkified

    The CSS class to assign to links added by Linkify.

    $(".selector").linkify({ className: "myClass" });
    String _self

    The target to assign to links added by Linkify.

    $(".selector").linkify({ target: "_blank" });
    Boolean false

    Whether to add a nofollow relationship to links added by Linkify.

    $(".selector").linkify({ nofollow: true });
  • License

    Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

    Copyright Planet Telex, Inc.