convert.dev

Convert to

Formats/Text and data

D2 Diagram. Diagram code in the D2 language: boxes, arrows and containers. 129 formats it can become, 0 that become it.

Sign in with GitHub or Google. Files are deleted after 24 hours.

D2 becomes.

Every path the planner knows from a D2, the common ones first. One hop is a single engine. More hops go through another format on the way.

129 targets

JSONonefidelity 1.003 hops~2.0 sCSVmanyfidelity 0.783 hops~3.8 sHTMLonefidelity 0.783 hops~2.1 sTXTonefidelity 0.833 hops~1.9 sMDonefidelity 0.783 hops~2.1 sTSVonefidelity 0.853 hops~4.7 sJSONLonefidelity 0.933 hops~3.3 sYAMLmanyfidelity 0.744 hops~3.9 sXMLonefidelity 0.883 hops~2.1 sSQLITEonefidelity 0.744 hops~4.8 sPARQUETonefidelity 0.744 hops~4.8 sTOMLmanyfidelity 0.745 hops~4.0 sSQLonefidelity 0.745 hops~5.2 sCBORmanyfidelity 0.784 hops~3.9 sMSGPACKmanyfidelity 0.784 hops~3.9 sBSONmanyfidelity 0.744 hops~3.9 s

Becomes D2.

Every format that can be turned into a D2.

0 sources

Nothing writes D2 yet.

Two commands.

cv targets answers this page for any file. cv convert runs any row above.

~/filescv 0.1
$ cv targets --from d2
d2 ->
  json     one   fidelity 1.00  hops 3  ~2.0 s
  csv      many  fidelity 0.78  hops 3  ~3.8 s
  html     one   fidelity 0.78  hops 3  ~2.1 s
  txt      one   fidelity 0.83  hops 3  ~1.9 s
$ cv convert file.d2 file.json
file.json -> file.json