Title: DB Table Viewer
Author: Vrutika Darji
Published: <strong>پروری 5, 2025</strong>
Last modified: اکتوبر 23, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/db-table-viewer.svg)

# DB Table Viewer

 By [Vrutika Darji](https://profiles.wordpress.org/vrutti22/)

[Download](https://downloads.wordpress.org/plugin/db-table-viewer.1.1.zip)

 * [Details](https://bcc.wordpress.org/plugins/db-table-viewer/#description)
 * [Reviews](https://bcc.wordpress.org/plugins/db-table-viewer/#reviews)
 *  [Installation](https://bcc.wordpress.org/plugins/db-table-viewer/#installation)
 * [Development](https://bcc.wordpress.org/plugins/db-table-viewer/#developers)

 [Support](https://wordpress.org/support/plugin/db-table-viewer/)

## Description

DB Table Viewer is a simple, read-only plugin that allows administrators to:

 * Select any table in the WordPress database.
 * View its data in a clean, paginated HTML table.
 * Navigate through rows using AJAX-based pagination.

This plugin is particularly useful for debugging or inspecting custom database tables
without writing SQL queries.

#### Features

 * Dropdown to select from available database tables.
 * Displays table data in a well-formatted, horizontally scrollable table.
 * AJAX-based pagination that stays fast on large tables.
 * Long values are shortened with a “Show more” toggle; NULL and binary values are
   clearly marked.
 * Secure: nonce-protected requests, strict table validation and escaped output.
 * Fully translation-ready.

## Installation

 1. Upload the `db-table-viewer` folder to the `/wp-content/plugins/` directory, or
    install the plugin through the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to **Tools > DB Table Viewer** to use the plugin.

## FAQ

### Who can use this plugin?

Only administrators with the `manage_options` capability. On Multisite, only super
admins can use it, because all sites share one database.

### Can this plugin modify database data?

No, the plugin is read-only and does not allow any modifications to the database.

### What happens if I select a table with no data?

The table’s columns are shown along with a message that the table is empty.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“DB Table Viewer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Vrutika Darji ](https://profiles.wordpress.org/vrutti22/)

[Translate “DB Table Viewer” into your language.](https://translate.wordpress.org/projects/wp-plugins/db-table-viewer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/db-table-viewer/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/db-table-viewer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/db-table-viewer/)
by [RSS](https://plugins.trac.wordpress.org/log/db-table-viewer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Security: added nonce verification to AJAX requests.
 * Security: table names are now validated against the database’s table list.
 * Security: on Multisite, access is restricted to super admins.
 * Fix: pagination now shows a compact page range instead of one button per page.
 * Fix: empty tables show their column headers.
 * Fix: invalid or out-of-range page numbers no longer cause SQL errors.
 * Fix: PHP notices for missing request parameters and placeholder-less prepared
   queries.
 * Improvement: long values are truncated with a “Show more” toggle; NULL and binary
   values are labelled.
 * Improvement: wide tables scroll horizontally.
 * Improvement: all JavaScript strings are translatable.
 * Improvement: prefixed AJAX action, class and CSS names to avoid conflicts with
   other plugins.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.1**
 *  Last updated **2 weeks ago**
 *  Active installations **90+**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **6.9.11**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/db-table-viewer/)
 * Tags
 * [admin](https://bcc.wordpress.org/plugins/tags/admin/)[database](https://bcc.wordpress.org/plugins/tags/database/)
   [pagination](https://bcc.wordpress.org/plugins/tags/pagination/)[table](https://bcc.wordpress.org/plugins/tags/table/)
   [viewer](https://bcc.wordpress.org/plugins/tags/viewer/)
 *  [Advanced View](https://bcc.wordpress.org/plugins/db-table-viewer/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/db-table-viewer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/db-table-viewer/reviews/)

## Contributors

 *   [ Vrutika Darji ](https://profiles.wordpress.org/vrutti22/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/db-table-viewer/)