Is there some tool for converting graphics into tikz code, just like mathpix converting a formula to a code?

  • 1
    Max welcome to TEXSE, mentioning just as graphics is a very vague term (in scripting analogy). First, what do you mean by graphics? :-). Nevertheless, there are a few tools that I am aware of. For example, matlab2tikz and inkscape. Not to mention, mostly always the best way to do with is by scritpting them yourself ;) Jul 27, 2019 at 4:23
  • Yes, this tool exists. It is this very site. You only need to post a question with title "How can I draw this?" and add the screen shot of what you want to achieve. Then you will get the code in an answer. ;-)
    – user121799
    Jul 27, 2019 at 8:14
  • Possible help for your question here: tex.stackexchange.com/questions/26972/…
    – Sebastiano
    Jul 27, 2019 at 15:42

2 Answers 2


You can also use the editor from https://www.mathcha.io/ In the editor you can insert a diagram, which allows you to draw many shapes and figures.


It really depends on what you want to start with, and then see if it has a TiKz export option. In addition to the ones above, there's an answer here Need help to export tikz code from geogebra about Geogebra -> Tikz

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .