# Prompt Generator — Visual Prompt Workflow Builder https://prompt-generator.usetool.org/ > Prompt Generator is a free visual prompt workflow builder for AI engineers and prompt engineers. Build prompt chains as block diagrams: create action blocks, connect them on a canvas, add loops and cycles, and auto-generate step-by-step AI instructions. Supports prompt chaining, cycle detection with loop notation, import/export, multi-project management. No signup, no ads, no server — everything runs in your browser with auto-save to localStorage. ## Features - Visual drag-and-drop canvas for building prompt workflows - Block library with CRUD: create, edit, delete, search blocks - Drag-to-connect: wire blocks with bezier curve connections - Cycle detection: automatic loop notation ("Cycled: continue step N until M is fully satisfied!") - Topological sort: auto-generates numbered step-by-step prompt instructions - Copy to clipboard: one-click copy of generated prompt - Export as Markdown (.md) or plain text (.txt) - Import from text or file (.txt, .md) — parses numbered prompts into blocks + connections - Multi-project management: create, switch, rename, delete projects - Auto-save to localStorage with 500ms debounce - Zoom controls (Ctrl+wheel, 25%-200%) with persistence - Dark mode support - Mobile responsive with tab navigation (Library / Canvas / Output) - Futuristic UI: animated flow connections, glow effects, glassmorphic controls ## Use Cases - AI engineers building complex multi-step agent workflows - Prompt engineers designing prompt chains with review loops - Product managers planning AI automation pipelines - Automation engineers creating repeatable instruction sequences - Anyone who needs to turn a visual workflow into a copy-pasteable prompt ## Prompt Engineering This tool is designed for prompt engineering workflows where tasks are decomposed into sequential steps with conditional loops. Common patterns: research → write → review → repeat until quality threshold. The visual canvas makes it easy to rearrange steps, add review cycles, and export the final prompt. ## Technical Details - Stack: Astro 5 (SSG), Preact + Signals, Tailwind CSS v4 - Bundle: ~10KB gzipped JavaScript - Zero network requests (no API calls, no tracking cookies) - Data stored exclusively in browser localStorage - Works offline after initial page load ## FAQ - Q: Is it free? A: Yes, completely free. No signup, no ads, no limits. - Q: Is my data safe? A: Yes. Everything runs in your browser. Nothing is sent to any server. - Q: Can I create loops? A: Yes. Connect a later block back to an earlier one to create a cycle with automatic loop notation. - Q: Does it work offline? A: Yes. After initial load, it works entirely offline. - Q: What is prompt chaining? A: Breaking complex AI tasks into sequential steps where each step builds on the previous one. - Q: How do I export? A: Click Export in the output panel, choose Markdown or plain text. - Q: Can I import existing prompts? A: Yes. Click Import, paste numbered text or upload a .txt/.md file.