Convert SVG images to TikZ code. Insert directly into your notes and render with the TikZJax.
Convert SVG images to TikZ code and seamlessly integrate with TikZJax – insert generated code directly into your notes and render it as beautiful LaTeX-style graphics.
~~~tikz block that TikZJax recognizes – it will be rendered automatically in your note (provided TikZJax is active)Tip: For the best experience, install the TikZJax plugin from the Obsidian community plugins. This converter produces code fully compatible with TikZJax's rendering engine.
The plugin inserts TikZ code in the exact format required by TikZJax:
\begin{document}
[converted TikZ code]
\end{document}
This ensures that once inserted, your diagram is immediately rendered by TikZJax without any manual tweaking.
| Setting | Description |
|---|---|
| Output mode | Standalone document, figure only, or code only |
| Output unit | cm, mm, in, pt, px, etc. |
| Scale | Global scale factor |
| Decimal places | Precision for coordinates |
| Reverse Y axis | Flip Y coordinates (SVG origin is top‑left, TikZ is bottom‑left) |
| Indent output | Add indentation to generated code |
| Ignore text | Skip text elements during conversion |
| Markings mode | Handle arrow markers |
| Arrow style | latex, stealth, to, or > |
main.js, manifest.json, and styles.css from the latest release <vault>/.obsidian/plugins/svg2tikz/ GNU GPL
This plugin is a port of the svg2tikz project by xyz2tex to the Obsidian platform. The generated code is designed to be fully compatible with the TikZJax plugin.