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 bower.

Step 1. Choose a styling framework

DataTables' default styling.
v2.0.2
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
v0.9.2
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

DataTables requires jQuery. Don't select either version if you already have it.
v3.7.0
Use for compatibility with older browsers. jQuery 3 requires IE9+.
v1.12.4
Don't select if you already have _STYLE_ on your page.
Enhance HTML tables with advanced interaction controls.
v2.0.2
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.3.1

Extensions

Excel-like click and drag copying and filling of data.
v2.7.0
A common framework for user interaction buttons.
v3.0.1
End user buttons to control column visibility.
v3.0.1
Copy to clipboard and create Excel, PDF and CSV files from the table's data.
v3.0.1
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.0.1
Click-and-drag column reordering.
v2.0.0
Date picker used in Editor, SearchBuilder and other components for DataTables.
v1.5.2
Fix one or more columns to the left or right of a scrolling table.
v5.0.0
Sticky header and / or footer for the table.
v4.0.1
Keyboard navigation of cells in a table, just like a spreadsheet.
v2.12.0
Dynamically show and hide columns based on the browser size.
v3.0.0
Show similar data grouped together by a custom data point.
v1.5.0
Click-and-drag reordering of rows.
v1.5.0
Virtual rendering of a scrolling table for large data sets.
v2.4.1
User defined complex search builder.
v1.7.0
Search panels for DataTables allowing rapid and customisable filtering.
v2.3.0
Adds row, column and cell selection abilities to a table.
v2.0.0
Save and restore DataTables states.
v1.4.0

Step 3. Pick a download method

  • CDN
  • Download
  • NPM
  • Yarn
  • Bower
  • 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.

The files required for the link and script tags shown above can be downloaded using the button below. The package is downloaded as a zip file which should be unzipped and uploaded to your web-server.

Download files

Install

Use the following to install the selected software in your package:

The Editor NPM package is a holding and install package only. You will still need to download Editor. The NPM package contains a script that can be run to install the required files into node_modules. See this post for more details.

ES modules

To use the software selected from above with an ES module loader (e.g. modern Node.js, Vite, ESBuild, etc) use the following import statements:

CommonJS

If you are using CommonJS as the loader for your Javascript, use the following code to require the modules (see the Node.js / NPM install documentation for full details of using DataTables with a module loader):

Install

Use the following to install the selected software in your package:

The Editor NPM package is a holding and install package only. You will still need to download Editor. The NPM package contains a script that can be run to install the required files into node_modules. See this post for more details.

ES modules

To use the software selected from above with an ES module loader (e.g. modern Node.js, Vite, ESBuild, etc) use the following import statements:

CommonJS

If you are using CommonJS as the loader for your Javascript, use the following code to require the modules (see the Node.js / NPM install documentation for full details of using DataTables with a module loader):

Bower is a popular client-side package manager, and while it has now largely been supplanted by npm / yarn, there are still a number of older projects that use it.

Install

Nuget is the package manager for .NET applications, the datatables packages are hosted here so that they can be easily integrated into .NET projects.

Install

Composer is the dependency manage for PHP. The packages are hosted and available through Composer from Packagist, which is the main composer repository.

Install