BrowserTricks Logo

    Console `table()` for Data Visualization

    Render arrays of objects as a clean, sortable table instead of a nested tree.

    Power-User Tips

    Curated tricks for Chrome, Edge, Brave, Vivaldi & Opera GX.

    Hidden Features

    Discover experimental flags, DevTools hacks, and productivity boosters.

    Back to Developer Tools

    Console `table()` for Data Visualization

    All Chromium

    Console Masteryworkflow

    What It Does

    Render arrays of objects as a clean, sortable table instead of a nested tree.

    Quick Summary

    Pass an array to the `console.table()` function.

    Step-by-Step Instructions

    1. 1

      In the Console, type `console.table(myArrayOfObjects)`.

    2. 2

      A beautiful spreadsheet-style table will appear with sortable columns.

    3. 3

      You can even filter which columns to show: `console.table(users, ['name', 'email'])`.

    More in Console Mastery