Loan Agreement Generator

Loan Agreement Generator

Create a simple loan agreement for personal or business use.

Lender Information

Borrower Information

Loan Terms

Repayment Terms

No agreement generated

Complete the details on the first tab to generate the agreement.

This Loan Agreement (the "Agreement") is entered into as of ${data.loanDate} (the "Effective Date"), by and between:

Lender: ${data.lenderName}, with a mailing address of ${data.lenderAddress} (the "Lender"), and

Borrower: ${data.borrowerName}, with a mailing address of ${data.borrowerAddress} (the "Borrower").

1. LOAN AMOUNT

The Lender agrees to loan the Borrower the principal sum of ${currencyFormatter.format(data.loanAmount)} (the "Loan").

2. INTEREST

The Loan will bear interest at a rate of ${data.interestRate}% per annum, calculated on the unpaid principal balance.

3. REPAYMENT

The Borrower will repay the Loan in ${data.numberOfPayments} ${data.paymentFrequency} installments of ${currencyFormatter.format(data.installment)}. The first payment will be due on ${data.repaymentStartDate}, and subsequent payments will be due on the same day of each following ${data.paymentFrequency.slice(0, -2)}. The total amount to be repaid, including principal and interest, is ${currencyFormatter.format(data.totalPayment)}.

4. GOVERNING LAW

This Agreement shall be governed by and construed in accordance with the laws of the State of Delaware, without regard to its conflict of laws principles.

5. ENTIRE AGREEMENT

This document constitutes the entire agreement between the parties. All prior discussions, negotiations, and understandings have been merged into this Agreement.

LENDER SIGNATURE

${data.lenderName}

BORROWER SIGNATURE

${data.borrowerName}

Disclaimer: This is a sample document for informational purposes only. It is not a substitute for professional legal advice. Consult with a qualified attorney for any legal matters.

`; }; // --- PDF DOWNLOAD --- window.downloadPDF = () => { if (typeof jspdf === 'undefined' || typeof html2canvas === 'undefined') { console.error("PDF generation error: jsPDF or html2canvas library not loaded."); alert("Could not generate PDF. A required library is missing."); return; } const { jsPDF } = window.jspdf; const agreementDiv = document.getElementById('agreement-output'); if (!agreementDiv) { console.error("Agreement content element not found."); return; } const pdf = new jsPDF('p', 'pt', 'a4'); const source = agreementDiv; const margin = 40; pdf.html(source, { callback: function(doc) { doc.save("Loan-Agreement.pdf"); }, x: margin, y: margin, width: 595 - (margin * 2), // A4 width in points is 595 windowWidth: source.scrollWidth }); }; // --- INITIALIZE UI --- updateTabs(); });
Scroll to Top