Download

The best method for getting a hold of DataTables for use in your project depends upon your programming environment. The download builder below provides a simple method that you can use to build your own custom DataTables package - including only the software that you need, and providing options to have it hosted on the DataTables CDN, download the package locally or install through a package manager such as npm, yarn or NuGET.

If you are upgrading an old version of a DataTables CDN or downloaded file created by this download builder and want to use the same build options with the latest versions, look in the JS file header and you'll find a URL that will automatically select the options needed.

Are you interested in trying the next generation of DataTables?! The DataTables 3 beta download builder is now available. See the release information and announcement for full details.

Step 1. Choose styling

DataTables' default styling.
v2.3.7
Legacy version of Bootstrap - useful if you need to support old browsers.
v3.3.7
v4 of possibly the world's most widely used styling library.
v4.6.0
The latest iteration of the ever popular Bootstrap framework.
v5.3.0
Modern CSS framework based on Flexbox
v1.0.1
A modern responsive styling framework.
v6.4.3
A collection of Javascript widgets as well as a styling framework.
v1.13.2
Treats words and classes as exchangeable concepts. Formally Semantic UI.
v2.8.8

Step 2. Select packages

Libraries

DOM and event utility library. Don't select if you already have it.
v3.7.0
Date and time library for ordering and formatting dates.
v2.29.4
React component for DataTables
v1.0.0
A Vue component for DataTables
v3.0.5

DataTables core

Enhance HTML tables with advanced interaction controls.
v2.3.7
Add full editing controls to your DataTables.
Editor is a commercial extension for DataTables, it requires a license to use it for longer than the free trial period. Please create an account or login to be able to include Editor in the package.
v2.5.2

Extensions

Excel-like click and drag copying and filling of data.
v2.7.1
A common framework for user interaction buttons.
v3.2.6
End user buttons to control column visibility.
v3.2.6
Copy to clipboard and create Excel, PDF and CSV files from the table's data.
v3.2.6
Required for the Excel HTML5 export button.
v3.10.1
Required for the PDF HTML5 export button.
v0.2.7
Button that will display a printable view of the table.
v3.2.6
Click-and-drag column reordering.
v2.1.2
Column specific buttons and search controls.
v1.2.1
Date picker used in Editor, SearchBuilder and other components for DataTables.
v1.6.3
Fix one or more columns to the left or right of a scrolling table.
v5.0.5
Sticky header and / or footer for the table.
v4.0.6
Keyboard navigation of cells in a table, just like a spreadsheet.
v2.12.2
Dynamically show and hide columns based on the browser size.
v3.0.8
Show similar data grouped together by a custom data point.
v1.6.0
Click-and-drag reordering of rows.
v1.5.1
Virtual rendering of a scrolling table for large data sets.
v2.4.3
User defined complex search builder.
v1.8.4
Search panels for DataTables allowing rapid and customisable filtering.
v2.3.5
Adds row, column and cell selection abilities to a table.
v3.1.3
Save and restore DataTables states.
v1.4.3

Step 3. Pick an installation method

  • CDN
  • Download
  • NPM
  • NuGet
  • Composer

The DataTables CDN provides a convenient way to quickly get started with DataTables. The DataTables software is hosted on the CDN (powered by CloudFlare) and you simply need to include the HTML and CSS files as directed below.

Use minified files for smaller files sizes and faster downloads.
Combine files together for a, typically, faster download.

Install

Copy and paste the following HTML into your page to load the software selected above.

1
2
3
<link href="https://cdn.datatables.net/v/dt/dt-2.3.7/datatables.min.css" rel="stylesheet" integrity="sha384-wCnlGUpaekN+Mtc+qIoipdqIqe2dvC7hWyzVg8wajZ1sxKnVTbnyBd7pyx7JT0Su" crossorigin="anonymous">
 
<script src="https://cdn.datatables.net/v/dt/dt-2.3.7/datatables.min.js" integrity="sha384-aQ8I1X2x8U0AR8D7C4Ah0OvZlwMslQdN5YDAQBA56jXrrhcECijs/i7H+5DDrlV1" crossorigin="anonymous"></script>

Try it on StackBlitz

StackBlitz is a browser based IDE where you can setup an entire development environment directly in your browser. Click the button below to create a demo based on the options selected above and try it out with a basic DataTable.