Getting Started
Quick introduction to Privacy Sketch. Create your first hand-drawn diagram in under 5 minutes using the visual editor or JSON.
Start TutorialLearn to create beautiful hand-drawn diagrams, flowcharts, timelines, and infographics. 100% private, runs entirely in your browser.
Everything you need to create stunning hand-drawn diagrams programmatically or through the visual editor.
Quick introduction to Privacy Sketch. Create your first hand-drawn diagram in under 5 minutes using the visual editor or JSON.
Start TutorialComplete reference for all 40+ shape types including rectangles, ellipses, stars, hearts, flowchart symbols, connectors, and more.
View All ShapesLearn about colors, fill styles, stroke options, roughness settings, and how to achieve the perfect hand-drawn aesthetic.
Explore StylingMaster positioning, alignment, and common layout patterns for creating timelines, grids, flowcharts, and complex diagrams.
Learn LayoutsAdd AWS, Azure, GCP cloud icons, 6,000+ Tabler icons, and custom images to create professional cloud architecture diagrams.
Browse IconsBrowse ready-to-use examples: timelines, flowcharts, architecture diagrams, infographics, mind maps, and more with full JSON code.
View ExamplesComplete JSON specification for programmatic diagram creation. Perfect for developers and LLMs generating diagrams via code.
View API DocsOptimized documentation for AI agents. Includes full schema, icon lists (AWS/Azure/GCP), and multi-shot examples.
View LLM GuidePrivacy Sketch diagrams are defined as JSON. Here's a simple example you can copy and paste:
{
"elements": [
{
"type": "rectangle",
"id": "card-1",
"x": 100,
"y": 100,
"w": 200,
"h": 100,
"borderRadius": 12,
"options": {
"fill": "#fef3c7",
"stroke": "#f59e0b",
"strokeWidth": 3,
"roughness": 1.8
}
},
{
"type": "text",
"id": "label-1",
"x": 100,
"y": 135,
"w": 200,
"h": 30,
"text": "Hello World!",
"fontSize": 20,
"align": "center",
"options": { "stroke": "#92400e" }
}
]
}
Open Privacy Sketch → Click Code button → Paste this JSON → Click Apply
The only diagramming tool that's truly private, beautiful, and developer-friendly.
Runs entirely in your browser. No servers, no uploads, no tracking. Your diagrams never leave your device.
Beautiful sketchy aesthetics powered by Rough.js. Make technical diagrams look approachable and human.
Rectangles, ellipses, stars, hearts, flowchart symbols, speech bubbles, banners, and many more shapes.
Built-in Tabler icons plus AWS, Azure, and GCP cloud provider icons for architecture diagrams.
Export as PNG (1x, 2x, 3x) or SVG. Perfect for presentations, documentation, and social media.
JSON-based format makes it easy for AI to generate complex diagrams programmatically.