View on GitHub


An overview of Bootstrap Table, how to download and use, basic templates, and more.


Looking to quickly add Bootstrap Table to your Bootstrap v5 project? Use CDN, provided for free by the folks at UNPKG. Using a package manager or need to download the source files? Head to the downloads page.


Copy-paste the stylesheet <link> into your <head> before all other stylesheets to load our CSS.

<link rel="stylesheet" href="">


Place the following <script>s near the end of your pages, right before the closing </body> tag, to enable them. jQuery must come first, then Bootstrap.js, and then our JavaScript plugins.

<script src=""></script>

Starter template

Be sure to have your pages set up with the latest design and development standards. That means using an HTML5 doctype and a viewport meta tag for proper responsive behaviors.

For Bootstrap v5, we use Bootstrap Icons as the default icons, so we need to import the Bootstrap Icons link.

Put it all together, and your pages should look like this:

<!doctype html>
<html lang="en">
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Hello, Bootstrap Table!</title>

    <link href="" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="">
    <table data-toggle="table">
          <th>Item ID</th>
          <th>Item Name</th>
          <th>Item Price</th>
          <td>Item 1</td>
          <td>Item 2</td>

    <script src=""></script>
    <script src="" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
    <script src=""></script>

HTML5 doctype

Bootstrap Table requires the use of the HTML5 doctype. Without it, you’ll see some funky incomplete styling, but including it shouldn’t cause any considerable hiccups.

<!doctype html>
<html lang="en">


Stay up to date on the development of Bootstrap Table and reach out to the community with these helpful resources.