TikZ Editor
WYSIWYG editor for figures in LaTeX
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hi all! TikZ is a widely-used LaTeX package for drawing figures in papers. It uses commands like \draw[->] (0,0) -- (1,2); to draw lines, shapes, text, etc. Academics usually code up their figures by hand, so there is lots of twiddling around with the coordinates and recompiling until things look nice. I guess it’s a bit like SVG, but it’s more code than markup, for example it has loops with \foreach.I built an open-source WYSIWYG TikZ editor (available for web and desktop) that allows you to edit your TikZ source code visually by dragging and resizing elements. It simultaneously shows the source code and the rendered figure, and lets you edit either one while the two views stay in sync. I’m not aware of any other editors that are simultaneously source editors and WYSIWYG (even for editing SVG or HTML), and I’m quite pleased with how well the combination works.The way the app is implemented is by parsing the TikZ code, and at all times keeping track of the exact source location of each object. Thereby, when a user drags an element to a new position, the app can override just the numbers in the coordinate without changing anything else in the code (such as line breaks or indentation).This approach essentially required reimplementing a large fraction of TikZ, which is the kind of task that no human would ever want to do. I think building software that doesn’t exist yet because it would be impossibly tedious to code up is one of the great new possibilities thanks to coding agents, and it’s worth brainstorming for other examples. (This app was built almost entirely by Codex.)Implementing the app came with lots of fun side quests, including building converters from SVG / pptx / ipe to TikZ, re-implementing the LaTeX hyphenation and line-breaking algorithm to support multi-line nodes, and making a color picker that uses the red!20!black color mixing notation used in LaTeX papers.
HN · launched Jun 23, 2026 · 451 upvotes (top 1%) · 0 views
Niche: diagramming and flowchart tools · 116 launches, 6 in the last 7 days ▼ -50% · Explore this niche →
Category and tags
- Education
- Dev tools
- Prosumer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 116 launches in diagramming and flowchart tools →
Could you build this?
Yes A web-based canvas interface that renders shapes and maps them to/from TikZ LaTeX code is well within the scope of modern AI-assisted frontend development.
Discussion
20 comments analyzed.
Competitors mentioned: xfig, Inkscape with svg + pdf_tex, ChatGPT for creating TikZ diagrams, draw.io, transfig
Concerns raised: GPL-3 licensing issues with translating pgfplots source to JavaScript, TikZ syntax is tedious and time-consuming to learn, Difficult to tweak AI-generated TikZ diagrams without deep syntax knowledge, Multimodal AI models struggle with visual comparison of rendered output
Feature requests: Sticky/snap-to-grid mode with keyboard toggle (Shift/Alt/Ctrl) for node alignment, Tooltip displaying anchor positions during dragging, Apply drag-and-drop arrow behavior to regular shapes as well, TikZ to Cetz converter, Export to multiple file formats like transfig supports
Competitors
Other products that read as similar to this one : 273 launches clear the similarity bar, closest 8 shown.
Attention rank: #3 of 274 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 231 days after the earliest competitor.
- LineSVG · ph · 2026-09-15 · 1 upvotes · similarity 0.50
- Vectopea · ph · 2026-09-30 · 1 upvotes · similarity 0.49
- Extract diagrams from PDF to SVG · hn · 2025-12-22 · 11 upvotes · similarity 0.49
- svgdiagram.ai · ph · 2026-10-11 · 1 upvotes · similarity 0.48
- VectorNest responsive web-based SVG editor · hn · 2026-02-18 · 86 upvotes · similarity 0.46
- imagetolatex · ph · 2026-10-19 · 1 upvotes · similarity 0.45
- Visimer · hn · 2026-08-17 · 17 upvotes · similarity 0.44
- Scientific Figure 2.0 · ph · 2026-11-06 · 1 upvotes · similarity 0.44
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.