This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Table to Markdown

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES Table to Markdown is a floating panel that instantly converts any HTML table on the current page into clean, well‑formatted Markdown table syntax. Select a table from a list of automatically detected tables, choose whether to include headers, and specify alignment (left, center, or right) for each column individually. The panel displays the generated Markdown in a text area, ready to copy or insert directly into your workflow. You can convert a single table or all tables on the page at once, with each table labeled for easy identification. The panel also includes options to strip extra whitespace and normalize cell content, ensuring clean output without unnecessary formatting artifacts. You can copy the Markdown to your clipboard with one click, or insert it directly into any editable field on the page (input, textarea, or contenteditable). Perfect for developers documenting database schemas, data analysts sharing query results, technical writers embedding tables in documentation, or anyone who needs to quickly convert web tables into Markdown for use in GitHub, Jira, Notion, or any Markdown‑compatible platform. WHERE IT RUNS The panel overlays any website that loads the BotGentz extension—whether you're on a data dashboard, a documentation page, a CMS, a wiki, a project management tool, or any other web page. It works on all modern Chromium‑based browsers (Chrome, Edge, Brave, Arc) and Firefox. The script injects a self‑contained UI element that does not interfere with the host page's layout, styles, or JavaScript execution. It runs client‑side only, with no external API calls or cloud dependencies. HOW TO USE After installing the free BotGentz extension, visit any page and click the extension icon to activate the panel. The first time you use Table to Markdown, it will appear as a draggable widget near the bottom‑right corner of your viewport. To convert a table: - Select a table from the dropdown menu. The panel automatically detects all tables on the page. - Toggle "Include headers" on or off to control whether the first row is treated as a table header. - Enter alignment preferences in the text field as a comma‑separated list (e.g., "left,center,right"). - Toggle "Strip extra whitespace" to clean up cell content. - Click "Convert Table" to generate the Markdown for the selected table, or "Convert All Tables" to convert every table on the page. The generated Markdown appears in the output area below. To use the result: - Click "Copy to Clipboard" to copy the Markdown for pasting elsewhere. - Click "Insert Markdown into Active Field" to paste the Markdown directly into the focused editable field on the page. The panel remembers your header preference, whitespace stripping setting, and alignment choices across sessions. ROBUST TABLE PARSER WITH SMART HEADER DETECTION AND ALIGNMENT ENGINE Unlike naive converters that simply flatten table rows, this panel uses a robust table parsing engine that intelligently handles complex HTML table structures. The parser recursively traverses the DOM, distinguishing between and elements to correctly identify header rows. It automatically detects which rows contain header cells (using a threshold of 50% elements) and promotes them to the Markdown header position. The alignment engine parses a comma‑separated alignment string and maps each column to the appropriate Markdown alignment syntax: left (" :--- "), center (" :---: "), or right (" ---: "). If fewer alignments are provided than columns, the engine pads with left alignment. The parser also normalizes cell content by stripping extra whitespace (configurable), escaping pipe characters (which would break Markdown table syntax), and removing control characters. The engine can handle tables with varying column counts per row, normalizing them by padding missing cells with empty strings. This ensures that even irregular tables produce valid, well‑aligned Markdown output. THE PANEL - Drag: Click and hold the panel's header bar to move it anywhere on the screen. - Per‑site position: The panel stores its last position separately for each domain (e.g., different positions for GitHub vs. Confluence) using the browser's localStorage, keyed by hostname. - Snap: When dragged near any edge of the viewport, the panel snaps to that edge with a 16px margin for a clean, docked feel. - Collapse: Click the "−" button in the header to collapse the panel to a compact title bar, preserving all current values. Click "+" to expand it back. - Resize: Drag the bottom‑right corner handle to resize the panel from 280px to 600px wide and 200px to 500px tall; the layout adapts responsively. - Escape: Press the Escape key while the panel is focused to close it entirely (you can reopen it from the extension toolbar). PLEASE NOTE This script requires the free BotGentz extension to run—it is not a standalone bookmarklet or user script. Websites frequently update their DOM structures and security policies; while we strive to keep the panel functional across thousands of sites, occasional updates may be needed. The converter performs all operations entirely in your browser—no data is sent to any server, and no cookies or tracking identifiers are used. Your table data and generated Markdown remain private to your local session and are persisted only via GM_setValue (the extension's local storage) for convenience, not shared across devices or sessions. The converter handles most standard HTML tables, but tables with complex structures (e.g., nested tables, rowspan, colspan) may produce unexpected results. For best results, use tables with regular row and column structures. Always verify the generated Markdown in your target platform before finalizing documentation.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.