Eviction Notice Generator

Eviction Notice Generator

Create a formal eviction notice by filling in the details below.

Landlord & Tenant Information

Landlord Details
Tenant Details

Separate names with a comma.

Reason for Eviction & Terms

Leave blank if the tenant does not have the option to fix the issue.

Review & Download Notice

Your eviction notice will be generated here for review.

Disclaimer: Laws regarding eviction vary significantly by state and locality. This tool generates a common notice format but is not a substitute for legal advice. Consult a qualified attorney to ensure compliance with your local laws.

From:
${noticeData.landlordName}
${noticeData.landlordAddress}
${noticeData.landlordCityStateZip}


You are hereby given notice to vacate the premises located at ${noticeData.propertyAddress}, ${noticeData.propertyCityStateZip} on or before ${noticeData.vacateDate}.

REASON FOR NOTICE:

${reasonText}

REQUIRED ACTION:

${remedyText}

Failure to comply with this notice by the specified date will result in legal action to recover possession of the property, which may include a lawsuit for eviction and a judgment for damages and attorney's fees.

Sincerely,

${noticeData.landlordName}

`; document.getElementById('noticePreview').innerHTML = noticeHTML; document.getElementById('pdf-render-area').innerHTML = noticeHTML; } /** * Downloads the generated notice as a PDF file. */ async function downloadPDF() { const { jsPDF } = window.jspdf; const pdfContent = document.getElementById('pdf-render-area'); if (!pdfContent) return; downloadPdfBtn.textContent = 'Generating...'; downloadPdfBtn.disabled = true; pdfContent.classList.remove('hidden'); try { const canvas = await html2canvas(pdfContent, { scale: 2 }); const imgData = canvas.toDataURL('image/png'); const pdf = new jsPDF({ orientation: 'portrait', unit: 'in', format: 'letter' }); const imgProps = pdf.getImageProperties(imgData); const pdfWidth = pdf.internal.pageSize.getWidth(); const pdfHeight = (imgProps.height * pdfWidth) / imgProps.width; pdf.addImage(imgData, 'PNG', 0, 0, pdfWidth, pdfHeight); pdf.save('Eviction_Notice.pdf'); } catch (error) { console.error('Error generating PDF:', error); } finally { pdfContent.classList.add('hidden'); downloadPdfBtn.textContent = 'Download Notice as PDF'; downloadPdfBtn.disabled = false; } } // --- EVENT LISTENERS --- evictionReasonSelect.addEventListener('change', handleReasonChange); downloadPdfBtn.addEventListener('click', downloadPDF); // --- INITIALIZATION --- showTab(currentTab); handleReasonChange(); // Set initial state of conditional fields });
Scroll to Top