Workplace Harassment Policy Generator
Create a comprehensive policy for your organization in three simple steps.
Who is the primary contact for harassment complaints?
Provide an alternative if the primary contact is the subject of the complaint.
${companyName}
${companyAddress !== "[Company Address]" ? `${companyAddress}
` : ''}Effective Date: [Date]
1. Commitment to a Harassment-Free Workplace
${companyName} is committed to providing a work environment free of unlawful harassment. Company policy prohibits sexual harassment and harassment based on race, color, religion, national origin, age, disability, sexual orientation, or any other protected status. This policy applies to all employees, including supervisors and managers, as well as contractors, clients, and vendors.
2. Definition of Harassment
Harassment consists of unwelcome conduct, whether verbal, physical, or visual, that is based on a person's protected status. ${companyName} will not tolerate harassing conduct that affects tangible job benefits, interferes unreasonably with an individual's work performance, or creates an intimidating, hostile, or offensive working environment.
Examples of prohibited conduct include:
- Verbal conduct such as epithets, derogatory comments, slurs, or unwanted sexual advances.
- Visual conduct such as derogatory posters, cartoons, drawings, or gestures.
- Physical conduct such as assault, unwanted touching, or blocking normal movement.
- Threats and demands to submit to sexual requests as a condition of continued employment, or to gain promotion, or other job benefits.
3. Reporting Procedure
Any employee who believes they have been harassed by anyone, or who has witnessed harassment, is encouraged to report the incident immediately. You should report the incident to your supervisor, or if your supervisor is the one engaging in the conduct, you should report it to the ${reportingPersonTitle}.
If you are not comfortable reporting to either of these individuals, you may report the incident to the ${alternativePersonTitle}.
All complaints will be investigated promptly and impartially. Confidentiality will be maintained to the extent possible while ensuring a thorough investigation. A timely response will be provided to the person who complained and the person alleged to have engaged in the harassment.
Formal complaints can be initiated by contacting the ${reportingPersonTitle} at: ${reportingPersonEmail}.
4. No Retaliation
${companyName} prohibits retaliation against any employee for filing a harassment complaint or for assisting in a complaint investigation. Any employee found to be retaliating will be subject to disciplinary action, up to and including termination.
5. Disciplinary Action
If an investigation confirms that harassment has occurred, ${companyName} will take effective remedial action commensurate with the circumstances. Such action may include disciplinary measures, up to and including immediate termination of the offending employee, contractor, or vendor.
`; if (policyOutput) policyOutput.innerHTML = policyHTML; }; if(downloadPdfBtn) { downloadPdfBtn.addEventListener('click', () => { const { jsPDF } = window.jspdf; const policyElement = document.getElementById('policyOutput'); const companyName = document.getElementById('companyName')?.value.trim() || "Company"; if (!policyElement) { console.error("PDF Generation Error: Policy output element not found."); return; } // Use html2canvas to render the element to a canvas html2canvas(policyElement, { scale: 2, // Increase scale for better resolution useCORS: true }).then(canvas => { const imgData = canvas.toDataURL('image/png'); const pdf = new jsPDF({ orientation: 'p', unit: 'mm', format: 'a4' }); const pdfWidth = pdf.internal.pageSize.getWidth(); const pdfHeight = pdf.internal.pageSize.getHeight(); const canvasWidth = canvas.width; const canvasHeight = canvas.height; const ratio = canvasWidth / canvasHeight; // Calculate dimensions to fit the PDF page width while maintaining aspect ratio const imgWidth = pdfWidth - 20; // with 10mm margin on each side const imgHeight = imgWidth / ratio; let position = 10; // Top margin pdf.addImage(imgData, 'PNG', 10, position, imgWidth, imgHeight); // Handle content that might overflow one page let heightLeft = imgHeight; heightLeft -= (pdfHeight - 20); // Subtract visible area height while (heightLeft > 0) { position = position - (pdfHeight - 20); // Move position up by one page height pdf.addPage(); pdf.addImage(imgData, 'PNG', 10, position, imgWidth, imgHeight); heightLeft -= (pdfHeight - 20); } // Sanitize filename const safeFileName = companyName.replace(/[^a-z0-9]/gi, '_').toLowerCase(); pdf.save(`${safeFileName}_workplace_harassment_policy.pdf`); }); }); } // Initialize the UI updateTabUI(); });