Chrome Extension
Open JSON, YAML, XML, CSV and Mermaid from any web page in ToDiagram with one click.
The ToDiagram extension sends structured data from a web page to the editor, so you do not have to copy and paste it. It works in Chrome and other Chromium browsers on desktop, such as Edge and Brave.
Install
Click Add to Chrome, then Add extension to confirm.
Optional: click the puzzle icon in the browser toolbar and pin ToDiagram, so its icon is always visible.
You can also reach the store page from the editor: open the menu at the top left and choose Apps and integrations > Chrome extension.
Three ways to use it
The button on code blocks
When a page shows structured data in a code block, for example a JSON response in API documentation or a YAML file in a repository, an Open with ToDiagram button appears on the block. Click it to open that block in the editor.
The right-click menu
Select data anywhere on a page, right-click the selection and choose Open with ToDiagram. Use this for data that is not in a code block.
The toolbar icon
Click the ToDiagram icon in the browser toolbar to open an empty editor.
In each case the editor opens in a new tab, named after the page the data came from.
Supported formats
The extension handles JSON, JSON Lines, YAML, XML, CSV and Mermaid. You do not choose the format: the editor detects it. If it guesses wrong, pick the right one from the format menu under the text editor.
Privacy
- Nothing is sent until you click. The extension does not read or send page content on its own.
- When you click, the selected content and the title of the page go to the ToDiagram editor in a new tab. The extension then clears its copy.
- The extension does not track the pages you visit and collects no analytics.
You do not need a ToDiagram account to use it. You need one only to save what you opened.
Troubleshooting
- Reload the page. Pages that were open before you installed the extension need a reload.
- Check that the extension is turned on at
chrome://extensions. - The button only appears on code blocks that hold structured data. For anything else, select the text and use the right-click menu.
- Browsers do not allow extensions on some pages, such as the Chrome Web Store and
chrome://pages.
Select only the data, without text around it, and try again. You can also change the format in the editor with the format menu under the text editor.
No. Browser extensions work on desktop only. On a phone, open todiagram.com/editor directly.
Open chrome://extensions, find ToDiagram and click Remove.