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.
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
Parse Nginx combined access logs and upstream error traces instantly with HTTP status colorizing and secret scanning.
Inspect Docker Compose stdout/stderr streams, JSON log drivers, ANSI color codes, and multi-line stack traces.
Turn raw comma, tab, or semicolon-delimited text into a fast, sortable spreadsheet table in one paste.
Preview self-contained HTML, CSS, and JavaScript snippets live and share them as Claude-style `/v/:id` artifacts.