BASE

Carbon

Carbon

Web code image editor / PWA · Free

A source code image editor with syntax highlighting and export: it helps create explanations, documentation, and demonstrations of your project.

Also known as: carbon-app/carbon; carbon-app; carbon-images; code-images; carbon-now

Resource illustration: Carbon

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Prepare a code snippet image for documentation
  • Configure appearance and export and check the final image's readability

Example workflow

A possible workflow; this is not a report of hands-on testing.

Prepare a code snippet image for documentation.

Before you start

  • Project files and the required result.
  • A browser with access to Carbon or your web copy. The README also describes PWA installation for offline work through a supporting browser; an account is required to save snippets.

Steps

  1. Choose a short code fragment and suitable syntax highlighting.
  2. Configure appearance and export and check the final image's readability.
  3. Check export or integration of the result with the project.

Check your result

  • The target application opens the result without data loss.
  • The format and dependency licenses permit publishing the result.

Choosing Carbon

Prepare a code snippet image for documentation

Choose this when

  • Prepare a code snippet image for documentation
  • Configure appearance and export and check the final image's readability

Requirements

  • A code fragment and browser; saved snippets require a Carbon account.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • Code images and interactive embedding are different publication options: an ordinary PNG has no copyable source code.

Frequently asked questions

What can you use for free in Carbon?

Code and local use under MIT.

What additional costs might arise with Carbon?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Carbon?

MIT for the code; dependencies have separate licenses.

How do you get started with Carbon?

Choose a short code fragment and suitable syntax highlighting. Configure appearance and export and check the final image's readability. Check export or integration of the result with the project.

Can I share code rather than only an image?

Carbon exports PNG and SVG and also embeds snippets through an iframe. In that embedding, readers can copy the code. Saved snippets require login; code can be entered manually, dropped as a file, or loaded by GitHub gist ID.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Carbon
  • desktop
  • Development

Sources

Other resources