S
Supanote
Sign in Sign up
Vector & Diagrams · Zero Signup Required

Online SVG Code Viewer & Live Vector Sandbox

Preview inline SVG icons, Mermaid/Excalidraw exports, badges, and generative vector diagrams in real time. Verify `viewBox` scaling on dark or light canvases and share a clean `/v/:id` vector artifact link.

15 lines · 1174 B
Live Output Ready
viewBox: 0 0 520 180 · 12 tags
Terminal / CI Pipe Equivalent
cat diagram.svg | curl --data-binary @- https://supanote.app/paste

Upload generated SVG architecture diagrams or badges straight from build scripts.

Capabilities & Guarantees

  • ✓ Automatic extraction of `viewBox`, intrinsic `width`/`height`, element count, and byte size
  • ✓ Toggleable checkerboard, dark, and light canvas backgrounds for transparent icons
  • ✓ Sandboxed vector rendering prevents embedded `<script>` or `onload` XSS vectors from touching host origin
  • ✓ One-click `/v/:id` Pure Artifact View for full-bleed diagram reviews

Common Engineering Workflows

Debugging Transparent Icons & Stroke Colors

Switch between dark and light canvas backdrops to catch hardcoded black strokes or missing `currentColor` attributes.

Sharing Architecture & Sequence Diagrams

Publish Graphviz, D2, PlantUML, or Excalidraw SVG exports as clean links without blurry PNG compression.

Inspecting LLM-Generated Vector Graphics

Paste SVG markup generated by Claude or Gemini to verify `viewBox` cropping and path coordinates live.

Technical Questions & Details

Is it safe to preview third-party SVG files in Supanote?

Yes. SVG markup is rendered inside an isolated opaque-origin sandboxed iframe so inline SVG scripts or event handlers cannot access your session or origin.

Does the SVG Viewer show viewBox and byte metrics?

Yes. The workbench header displays the detected `viewBox`, width/height attributes, SVG tag count, and exact UTF-8 byte footprint.

Can teammates download the raw `.svg` file from the shared link?

Yes. Every shared SVG note provides both `/n/:id/raw` and `/n/:id/download` endpoints alongside `/v/:id` Pure Artifact View.

Explore Related Tools, Templates & Comparisons

Notification