SWOT · PNG Export · No Signup · 100% Free
Free Online SWOT Analysis Diagram Generator (Editable & Blank)
Create a professional SWOT diagram in minutes. Add strengths, weaknesses, opportunities and threats, then export as a high-quality PNG or copy as formatted text.
● Pro Version is Free for now
✓ 8 colour palettes · Monochrome · Stats · Live preview · Print · .txt download · Tips unlocked
Your SWOT analysis is saved only in your browser — nothing is ever sent to any server
What are you analysing?
🏢 Business
📦 Product Launch
🧑 Personal Career
🚀 Startup
📋 Project
🎓 University
0
Strengths
0
Weaknesses
0
Opportunities
0
Threats
🎨 Theme:
Default
💪
S
Strengths
Internal positive factors — what you do well, unique resources, competitive advantages...
⚠️
W
Weaknesses
Internal negative factors — areas to improve, resource gaps, skill limitations...
🌟
O
Opportunities
External positive factors — market trends, emerging needs, untapped segments...
⚡
T
Threats
External negative factors — competition, regulatory changes, economic risks...
Auto-saved
👁️ Live Export Preview — Click to Download
💡 SWOT Tips
${tip}
`).join('');
}function schedSave(){
const dot=document.getElementById('saveDot'),lbl=document.getElementById('saveLbl');
if(dot)dot.style.background='#f59e0b';if(lbl)lbl.textContent='Saving…';
clearTimeout(saveTimer);
saveTimer=setTimeout(()=>{try{localStorage.setItem(SK,JSON.stringify({...d,pal:curPal}));if(dot)dot.style.background='#10b981';if(lbl)lbl.textContent='Saved';}catch(e){}},1200);
}function clearAll(){
if(!d.S.length&&!d.W.length&&!d.O.length&&!d.T.length&&!d.subject)return;
if(confirm('Clear all SWOT data?')){d.subject='';d.S=[];d.W=[];d.O=[];d.T=[];document.getElementById('subjectInput').value='';renderAll();toast('Cleared!');}
}function setAppMode(m){
isPro=m==='pro';
document.getElementById('btnSimple').classList.toggle('active',!isPro);
document.getElementById('btnPro').classList.toggle('active',isPro);
document.body.classList.toggle('pro-mode',isPro);
const pb=document.getElementById('proBar');if(pb)pb.style.display=isPro?'flex':'none';
const pr=document.getElementById('paletteRow');if(pr)pr.style.display=isPro?'flex':'none';
if(isPro){buildPaletteBar();updateCanvas();}
try{localStorage.setItem('sst_swot_mode',m);}catch(e){}
}function esc(s){return(s||'').replace(/&/g,'&').replace(//g,'>').replace(/"/g,'"');}
function toast(msg){const t=document.getElementById('toast');t.textContent=msg;t.classList.add('show');setTimeout(()=>t.classList.remove('show'),2400);}function init(){
try{
const saved=localStorage.getItem(SK);
if(saved){const s=JSON.parse(saved);d.subject=s.subject||'';d.S=s.S||[];d.W=s.W||[];d.O=s.O||[];d.T=s.T||[];document.getElementById('subjectInput').value=d.subject;if(s.pal)curPal=s.pal;}
const m=localStorage.getItem('sst_swot_mode');if(m==='pro')setAppMode('pro');
}catch(e){}
renderAll();
}
init();