Generate properly formatted citations in APA, MLA, Chicago, and Harvard styles — for books, journal articles, websites, and conference papers. Paste them directly into your bibliography or export as text.
<!-- Authors -->
<div class="cg-section">
<label style="font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.03em;">Author(s)</label>
<div id="cg-authors" style="margin-top:6px;"></div>
<button class="cg-btn cg-btn-secondary cg-btn-sm" id="cg-add-author" style="margin-top:6px;">+ Add Author</button>
</div>
<hr class="cg-divider">
<!-- Core fields -->
<div class="cg-row">
<div class="cg-field">
<label>Title</label>
<input type="text" id="cg-title" placeholder="Work title">
</div>
<div class="cg-field">
<label>Year</label>
<input type="text" id="cg-year" placeholder="2024" maxlength="4" style="max-width:120px;">
</div>
</div>
<div class="cg-row">
<div class="cg-field" id="cg-field-publisher">
<label>Publisher</label>
<input type="text" id="cg-publisher" placeholder="Publisher name">
</div>
<div class="cg-field" id="cg-field-place">
<label>Place of Publication</label>
<input type="text" id="cg-place" placeholder="New York">
</div>
</div>
<div class="cg-row" id="cg-row-journal">
<div class="cg-field">
<label>Journal Name</label>
<input type="text" id="cg-journal" placeholder="Nature, Science, ...">
</div>
<div class="cg-field" style="max-width:100px;">
<label>Volume</label>
<input type="text" id="cg-volume" placeholder="12">
</div>
<div class="cg-field" style="max-width:100px;">
<label>Issue</label>
<input type="text" id="cg-issue" placeholder="3">
</div>
<div class="cg-field" style="max-width:130px;">
<label>Pages</label>
<input type="text" id="cg-pages" placeholder="45–67">
</div>
</div>
<div class="cg-row" id="cg-row-conference">
<div class="cg-field">
<label>Conference Name</label>
<input type="text" id="cg-conference" placeholder="Proceedings of ...">
</div>
<div class="cg-field">
<label>Conference Location</label>
<input type="text" id="cg-conf-location" placeholder="San Francisco, CA">
</div>
</div>
<div class="cg-row">
<div class="cg-field">
<label>DOI</label>
<input type="text" id="cg-doi" placeholder="10.1000/xyz123">
</div>
<div class="cg-field" id="cg-field-url">
<label>URL</label>
<input type="text" id="cg-url" placeholder="https://example.com">
</div>
</div>
<div class="cg-row" id="cg-row-access">
<div class="cg-field">
<label>Access Date</label>
<input type="text" id="cg-access-date" placeholder="May 16, 2025">
</div>
<div class="cg-field">
<label>Website Name</label>
<input type="text" id="cg-site-name" placeholder="BBC News">
</div>
</div>
<hr class="cg-divider">
<!-- Preview -->
<h2>Citation Preview</h2>
<div class="cg-preview-box">
<div class="cg-preview-label">Reference List</div>
<div class="cg-preview-text" id="cg-preview-ref">Fill in the fields above to generate a citation.</div>
</div>
<div class="cg-intext" id="cg-preview-intext" style="display:none;">
<strong>In-text:</strong> <span id="cg-intext-text"></span>
</div>
<div class="cg-copy-row">
<button class="cg-btn cg-btn-primary" id="cg-copy-ref">Copy Reference</button>
<button class="cg-btn cg-btn-secondary" id="cg-copy-intext">Copy In-text</button>
<button class="cg-btn cg-btn-secondary" id="cg-add-to-bib">Add to Bibliography</button>
<span class="cg-toast" id="cg-toast"></span>
</div>
Related tools:
- Count words → Word Counter
- Estimate reading time → Reading Time Calculator
