Business Indemnity Agreement Generator

Business Indemnity Agreement Generator

Create a customized indemnity agreement in a few simple steps.

Indemnitor (The Protecting Party)

The party providing the indemnity and promising to cover potential losses.

Indemnitee (The Protected Party)

The party being protected from losses.

Step 1 of 3

Indemnitor: ${data.indemnitorName}, located at ${data.indemnitorAddress}.

Indemnitee: ${data.indemniteeName}, located at ${data.indemniteeAddress}.

1. Indemnification

The Indemnitor agrees to indemnify, defend, and hold harmless the Indemnitee, its officers, directors, employees, and agents from and against any and all claims, liabilities, losses, damages, costs, and expenses (including reasonable attorneys' fees) arising out of or in connection with ${data.indemnifiedActivity}.

2. Scope of Indemnity

This indemnity shall cover all claims, regardless of whether they are based in contract, tort, statute, or any other legal theory. The Indemnitor’s obligation to defend and indemnify applies even if the claims are alleged to be groundless, false, or fraudulent.

3. Exceptions

Notwithstanding the foregoing, the Indemnitor shall have no obligation to indemnify the Indemnitee for ${exceptionsText}

4. Notice of Claim

The Indemnitee shall provide the Indemnitor with prompt written notice of any claim for which indemnification is sought under this Agreement. Failure to provide prompt notice shall not relieve the Indemnitor of its obligations, except to the extent that the Indemnitor is materially prejudiced by such failure.

5. Governing Law

This Agreement shall be governed by and construed in accordance with the laws of the State of ${data.governingState}, without regard to its conflict of law principles.

6. Entire Agreement

This Agreement constitutes the entire agreement between the parties with respect to the subject matter hereof and supersedes all prior and contemporaneous agreements and understandings, whether written or oral. This Agreement may be amended only by a written instrument signed by both parties.

IN WITNESS WHEREOF, the parties have executed this Indemnity Agreement as of the Effective Date.

INDEMNITOR:

${data.indemnitorName}

INDEMNITEE:

${data.indemniteeName}

`; document.getElementById('agreement-output').innerHTML = html; copyBtn.classList.remove('hidden'); downloadPdfBtn.classList.remove('hidden'); } // --- UTILITY FUNCTIONS --- function copyToClipboard() { const output = document.getElementById('agreement-output'); if (output) { const textToCopy = output.innerText; navigator.clipboard.writeText(textToCopy).then(() => { const originalText = copyBtn.textContent; copyBtn.textContent = 'Copied!'; setTimeout(() => { copyBtn.textContent = originalText; }, 2000); }, (err) => { console.error('Could not copy text: ', err); alert('Failed to copy text.'); }); } } async function generatePdf() { const { jsPDF } = window.jspdf; const agreementHtml = document.getElementById('agreement-output').innerHTML; const pdfWrapper = document.getElementById('pdf-content-wrapper'); if (!agreementHtml || !pdfWrapper) { console.error("PDF content area not found."); return; } // Prepare content for PDF pdfWrapper.innerHTML = `
${agreementHtml}
`; pdfWrapper.classList.remove('hidden'); try { const canvas = await html2canvas(pdfWrapper, { scale: 2 }); const imgData = canvas.toDataURL('image/png'); const pdf = new jsPDF({ orientation: 'portrait', unit: 'pt', format: 'a4' }); const pdfWidth = pdf.internal.pageSize.getWidth(); const imgProps = pdf.getImageProperties(imgData); const imgHeight = (imgProps.height * pdfWidth) / imgProps.width; let heightLeft = imgHeight; let position = 0; const pageHeight = pdf.internal.pageSize.getHeight(); pdf.addImage(imgData, 'PNG', 0, position, pdfWidth, imgHeight); heightLeft -= pageHeight; while (heightLeft > 0) { position = heightLeft - imgHeight; pdf.addPage(); pdf.addImage(imgData, 'PNG', 0, position, pdfWidth, imgHeight); heightLeft -= pageHeight; } pdf.save('Business_Indemnity_Agreement.pdf'); } catch (error) { console.error('Error generating PDF:', error); alert('An error occurred while generating the PDF.'); } finally { // Clean up pdfWrapper.innerHTML = ''; pdfWrapper.classList.add('hidden'); } } // --- START THE APP --- initializeTool(); });
Scroll to Top