ASCII Diagram to SVG
Turn monospace box-and-arrow sketches into clean, scalable SVG
Related Tools
ASCII Diagram to SVG
ASCII Diagram to SVG runs the Svgbob engine as WebAssembly in a worker in your browser. Every character sits on a grid cell, so leading spaces, trailing spaces and blank lines are kept as they are. Line endings are normalized, tabs expand to the next tab stop, and the result is sanitized before it is shown, copied or downloaded.
Character handling
Box-drawing characters such as single, double and rounded corners are drawn natively. Wide characters like Chinese, Japanese and Korean text or emoji take two columns, so pad box borders by display width; the tool counts them and shows a warning. Accents typed as separate combining marks are merged with their letter when Unicode allows it; marks that cannot be merged, joiners and direction marks are removed so later columns stay aligned. Other control characters become spaces.
Limits
A diagram can have up to 50,000 characters, 2,000 rows, 1,000 columns and 250,000 grid cells. Larger input is rejected before the engine builds a grid. The SVG itself is limited to 5 MB and 100,000 elements.
Engine and license
Conversion uses svgbob-wasm 1.0.0, a WebAssembly build of the open-source Svgbob renderer, licensed under Apache 2.0 and MIT. The binary is served from this site and checked against a pinned SHA-256 hash before use. Arrowheads end at the edge of the cell next to a box, which is how Svgbob draws them.
Privacy
Your diagram never leaves the browser. Only option preferences such as tab size, colors and scale are saved on this device; the diagram text and the SVG are kept in memory only.
Frequently asked questions
- Which ASCII shapes are supported?
- Svgbob draws lines made of -, |, / and \, arrows such as > < v and ^, boxes with + corners, rounded corners with . and ', box-drawing characters and text labels. Text inside double quotes stays plain text.
- Why does my box look misaligned with Chinese, Japanese or Korean text?
- Wide characters and emoji take two columns. The tool counts them that way and shows a warning; pad the box border by display width so the corners line up.
- Is my diagram uploaded?
- No. Svgbob runs as WebAssembly in a worker in your browser. The engine binary is loaded from this site and checked against a pinned hash; the diagram text never leaves the page.
