I can't find an utility or a more complete software that can translate rows of text i write in BNF into diagrams with vector formats like svg, someone can help me with this?
Googling "railroad diagram generator" quickly revealed an online browser-based generator and Clapham, an open-source generator written in Java.
Tabatkins' Railroad-diagram Generator sounds like it'd do the business. It generates very nice looking SVG files.

However it doesn't take BNF/EBNF as an input. In which case, you'd probably want to look at gbrault's fork which lets you translate EBRF into SRFB grammar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With