A comprehensive web-based tool for generating academic references in Harvard-Anglia style (adapted format). This tool helps students create properly formatted reference lists for academic assignments and research papers.
🌐 Live version: Click here to use the tool
-
40+ Reference Types: Comprehensive coverage of academic sources including:
- Books (single/multiple authors, editors, chapters)
- Journal articles (print and online)
- Websites and online content
- Multimedia (films, TV, podcasts, music)
- Social media (Instagram, Facebook, X/Twitter, TikTok)
- Government publications and legal documents
- Theses, dissertations, and conference proceedings
- And many more...
-
Smart Formatting: Automatic formatting with proper italics, punctuation, and structure
-
Validation: Handles missing information with Latin abbreviations (s.a., s.l., s.n.)
-
Hints System: Toggle-able hints and examples for first-time users
-
Edit Functionality: Edit existing references before finalizing
-
Alphabetical Sorting: Automatic alphabetical organization by author
-
Local Storage: Saves references locally with 30-day auto-cleanup
-
Copy & Download: Copy formatted references or download as timestamped .txt file
-
Mobile Responsive: Works seamlessly on desktop, tablet, and mobile devices
No prerequisites required! This is a standalone HTML/CSS/JavaScript application that runs entirely in the browser.
-
Clone this repository:
git clone https://github.com/yourusername/reference-list-generator.git
-
Navigate to the project directory:
cd reference-list-generator -
Open
index.htmlin your web browser, or serve it using a local server:# Using Python 3 python -m http.server 8000 # Using Node.js (with http-server) npx http-server
-
Access the tool at
http://localhost:8000
- Push your code to a GitHub repository
- Go to repository Settings > Pages
- Under "Source", select the branch (usually
main) and root folder - Click "Save"
- Your tool will be available at
https://yourusername.github.io/reference-list-generator/
- Select Reference Type: Choose from the sidebar menu (e.g., "Book (one author)", "Website", "Journal Article")
- Fill in the Form: Complete the required fields (marked with *)
- Add Reference: Click "Add Reference" to add to your list
- Edit if Needed: Use the "Edit" button to modify any reference
- Copy or Download:
- Click "Copy All References" to copy formatted list to clipboard
- Click "Download as .txt" to save as a text file with timestamp
- Clear: Use "Clear All" to start fresh
- Toggle "Show Hints" off if you're familiar with the requirements
- Use [s.a.] for missing year, [s.l.] for missing place, [s.n.] for missing publisher
- References are automatically sorted alphabetically by author
- Your references are saved locally and will persist for 30 days
The tool uses a vintage color palette defined in styles.css:
--primary: #344164; /* Dark blue */
--secondary: #F4DEC7; /* Cream */
--accent: #F8C74E; /* Gold */
--alert: #E93F3F; /* Red */
--muted: #5F6B53; /* Olive green */- Headings: Playfair Display (serif)
- Body Text: Fira Sans (sans-serif)
To customize fonts, edit the Google Fonts import in index.html and update font-family declarations in styles.css.
reference-list-generator/
│
├── index.html # Main HTML structure
├── styles.css # All styling and responsive design
├── script.js # Application logic and reference templates
└── README.md # This file
- No Dependencies: Pure HTML, CSS, and JavaScript
- Storage: Uses Web Storage API (localStorage) for persistence
- Browser Support: Modern browsers (Chrome, Firefox, Safari, Edge)
- Responsive: Mobile-first design approach
- References are stored in browser localStorage
- Automatic cleanup after 30 days
- Data is stored with the key
iie_references - No server-side storage or data transmission
- Book (one author, 2-3 authors, 4+ authors)
- Book (same author, multiple publications)
- Book (editor/s)
- Chapter from edited book
- eBook
- PDF documents
- Journal article (print)
- Journal article (online)
- Dissertation/Thesis
- Conference proceedings
- Module outlines/lecture notes
- Website
- Blog article
- YouTube/TEDx videos
- Social media posts (Instagram, Facebook, X, TikTok)
- Film/DVD/Video
- TV series/episodes
- Sound clips/music
- CD/Album
- Radio programmes
- Podcasts
- Newspaper/magazine articles
- Photographs and artworks
- Online images
- Interviews
- Government publications
- Acts/Bills/White Papers
- Dictionary/Encyclopedia
- Board games and video games
- Mobile apps
- Code snippets
- Secondary references
- Rich text copying may not preserve italics in all applications (use .txt download as fallback)
- Some older browsers may not support all features
This is an educational tool developed for academic purposes. If you'd like to contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available for educational use. Please maintain attribution if you use or modify this tool.
- Based on the Harvard-Anglia Style Reference Guide
- Developed for student use in academic writing
- Inspired by the need for accessible, accurate referencing tools
For issues, questions, or suggestions:
- Open an issue on GitHub
- Check existing documentation in this README
Release Date: 5 December 2025
- Complete Reference Type Coverage: Added 40+ reference types covering all major academic sources
- Edit Functionality: Users can now edit existing references in the list
- Improved Copy Function: Fixed copy all references to properly copy the complete formatted list
- Enhanced Typography: Added Playfair Display font for headings, Fira Sans for body text
- Comprehensive Tooltips: Added helpful tooltips for fields requiring special handling
- Better Form Organization: Improved form field layout and grouping
- Secondary Reference Support: Added support for citing sources within sources
- Sidebar Navigation: Reference types now dynamically populated from templates
- Form Validation: Improved validation with smart handling of optional fields
- Storage System: References now store both formatted text and original data for editing
- Mobile Experience: Improved responsive design for smaller screens
- File Naming: Download files now include timestamp in format
ReferenceList_YYYY-MM-DD-HHMMSS.txt
- Copy All References: Now properly copies the complete reference list with formatting
- Edit Mode: Form now correctly populates when editing existing references
- Storage Cleanup: Implemented automatic 30-day cleanup to prevent localStorage bloat
- Latin Abbreviations: Proper handling of [s.a.], [s.l.], and [s.n.] for missing info
- Separated Files: Split single-file application into index.html, styles.css, and script.js for better maintainability
- Modular Architecture: Reference templates now organized in a clear, extensible structure
- Improved Code Comments: Added comprehensive comments for future maintenance
Release Date: 4 December 2025 - Initial Development
- Basic reference types (8 core types)
- Simple form-based input
- Local storage
- Copy and download functionality
- Hints toggle
- Alphabetical sorting
- Book (one author)
- Book (2-3 authors)
- Book (4+ authors)
- Journal article
- Journal article (online)
- Website
- Chapter from edited book
- eBook
- Import references from BibTeX
- Export to other citation formats (APA, MLA, Chicago)
- Duplicate detection
- Batch edit functionality
- Search/filter references
- Cloud sync option (optional)
- Print-friendly view
- In-text citation generator
- Dark mode
- Integration with reference management tools
- Browser extension version
- Collaborative features
- Multiple style guides support
- Open
script.js - Add a new entry to the
formTemplatesobject:
'your-reference-type': {
title: 'Display Title',
info: 'Brief description',
fields: [
{
name: 'field_name',
label: 'Field Label',
required: true,
hint: 'Example value',
tooltip: 'Additional help' // optional
},
// ... more fields
],
format: (data) => {
// Return formatted reference string
return `${data.field_name}, formatted reference...`;
}
}- The new type will automatically appear in the sidebar
type: 'select'- Dropdown with options arraytype: 'textarea'- Multi-line text input- Default - Single-line text input
- Returns HTML string with
<em>for italics and<sup>for superscripts - Use
<and>for URLs to display < and > properly
Last Updated: December 2025