...

Citation Generator

Referencing a source should be a small job at the end of an essay, but getting the commas, italics and order right in MLA or APA takes longer than writing the paragraph the citation belongs to. This citation generator does the formatting for you: choose the source type and the style, type the details into the fields, and it builds the citation in the right shape, with the title in italics and the author name in the order the style asks for.

It is built for students writing essays and assignments, and for anyone putting together a reference list for a report or a guide. It covers the two most common source types — books and websites — in MLA 9th edition and APA 7th edition, using only the basic fields those formats need. Everything happens in your browser on this page. There is no account to create, nothing to install, and the details you type are not sent anywhere or stored. Fill in the fields, pick a style, and copy the result into your work.

Quick Answer: This citation generator builds MLA 9th edition and APA 7th edition citations for books and websites from fields you type — author, title, publisher or website name, year and URL. The title is shown in italics where the style requires it, fields you leave blank are left out rather than filled with guesses, and you can copy the finished citation straight into your reference list.

Leave a field blank if you do not have that detail — the citation leaves it out instead of guessing. For a website, the title box holds the page title.

Your citation will appear here.

This generator covers the basic book and website formats only. Journal articles, chapters, videos and other source types use different shapes, and multi-author rules and edition details are left out — check your style guide for those.

Table of Contents

  • How to Use the Citation Generator
  • Worked Example
  • Key Features
  • Best Practices and Tips
  • Common Mistakes to Avoid
  • When This Tool Helps — and When It Doesn’t
  • Frequently Asked Questions
  • Related Tools

How to Use the Citation Generator

  1. Choose the Source type: Book or Website. The fields below change to match — a book asks for a publisher, a website asks for a website name and a URL.
  2. Choose the Citation style: MLA 9th edition or APA 7th edition. The same details are rearranged into the shape that style asks for.
  3. Type the Author first name and Author last name. If the source has no named author, leave both blank and the citation will start with the title instead.
  4. Type the title in the Book title box — for a website, this box holds the page title, such as the heading of the article you are citing.
  5. Fill in the remaining fields: the Publisher for a book, or the Website name and Page URL for a website, plus the Year published.
  6. Press Generate citation. The finished citation appears in the result box, with the title in italics where the style requires it.
  7. Press Copy citation to copy it to your clipboard, then paste it into your reference list. Check the punctuation once against your style guide before you submit the work.

Worked Example

The page opens with a book example already filled in: author Sam Parker, title “Growing on Instagram”, publisher “Creator Press”, year 2024, style set to MLA 9th edition. Press Generate citation and the result reads: Parker, Sam. Growing on Instagram. Creator Press, 2024. The author comes first with the last name before the first name, the book title is in italics, then the publisher, a comma, and the year with a full stop.

Switch the style to APA 7th edition and press the button again, with the same details. The result reads: Parker, S. (2024). Growing on Instagram. Creator Press. The differences are the whole lesson in how the two styles work: APA uses only the author’s initial instead of the full first name, puts the year in brackets right after the author, and separates the title and publisher with full stops instead of commas. The title stays in italics in both styles, because both styles italicise book titles.

Now try a website. Change the source type to Website and fill in the fields for a real page: author Ana Lee, page title “Instagram Bio Character Counter”, website name “InstaTrackr”, year 2025, URL https://instatrackr.com/instagram-bio-character-counter/. In MLA the result reads: Lee, Ana. “Instagram Bio Character Counter.” InstaTrackr, 2025, https://instatrackr.com/instagram-bio-character-counter/. In APA it reads: Lee, A. (2025). Instagram Bio Character Counter. InstaTrackr. https://instatrackr.com/instagram-bio-character-counter/. Notice what changes between the styles here: MLA puts the page title in quotation marks and italicises the website name, while APA italicises the page title and leaves the website name plain. Those are the details this generator exists to get right for you.

Key Features

  • Two source types — books and websites — with the fields changing to match, so you are never asked for a publisher on a website or a URL on a book.
  • Two styles — MLA 9th edition and APA 7th edition — built from the same details, so you can switch styles and see exactly what changes between them.
  • Italics applied where each style requires them: book titles in both styles, the website name in MLA, and the page title in APA, shown in the result and preserved when you copy.
  • Blank fields left out instead of guessed. No author means the citation starts with the title; no year in APA becomes “(n.d.)”, which is the style’s own way of saying no date was given.
  • A one-click copy button that copies the plain text of the citation, so the italics travel as formatting in most editors and the text stays clean in plain-text documents.
  • A result box that shows the citation exactly as it will appear in your reference list, italics included, so what you check on screen is what you paste into your work, with no reformatting step in between.
  • Everything runs in your browser on this page, with no account, no sign-up and nothing stored. The sources you cite never leave your device.

Best Practices and Tips

  • Copy details from the source itself, not from memory. The title page of a book and the top of a web page are the reliable places for the title, author and year; a search result snippet is not.
  • Use the year the source was published, not the year you read it. For a website, the publication or update year on the page is the right one — if the page shows no year at all, leave the box blank and let APA show “(n.d.)”.
  • Check the italics after pasting. Most word processors keep the formatting from the copy button, but plain-text editors and some submission forms strip it, in which case you need to reapply the italics by hand before submitting.
  • Keep one style for the whole reference list. Mixing MLA and APA entries in the same list is a common marking error, so pick the style your teacher or publisher asked for and use it for every source.
  • Read the finished citation once before you submit. The generator handles the shape, but it cannot know if you typed the author’s name or the title with a spelling mistake, and that is the error markers notice first.
  • Build the citation as soon as you decide to use a source, not at the end of the essay. Capturing the author, title and year while the source is open takes a minute; tracking the same details down weeks later, from memory, is how wrong years and misspelled names get into reference lists.

Common Mistakes to Avoid

  • Putting the author’s first name before the last name. Both styles list the author as last name first in a reference entry — “Parker, Sam” in MLA and “Parker, S.” in APA — even though you would write the name the other way round in a sentence.
  • Italicising the wrong part on a website. In MLA the website name is italicised and the page title goes in quotation marks; in APA it is the other way round, with the page title italicised. Swapping them is the most common website citation error.
  • Guessing a year or a publisher to fill a blank box. A missing detail is better left out — APA even has “(n.d.)” for exactly that case — than a wrong detail presented as a fact.
  • Using the style for the wrong source type. A book citation without a publisher looks unfinished, and a website citation without a URL is useless to a reader trying to check the source. Match the source type to the source before you start typing.
  • Forgetting that this generator only covers books and websites. Journal articles, book chapters, videos, social media posts and interviews all have their own shapes, and this tool will not build them — check your style guide for those instead of forcing them into a book format.
  • Copying a citation from another student’s work or from a random website without checking it. Citation details are often wrong in the wild, and a copied error is still your error when it reaches the marker.

When This Tool Helps — and When It Doesn’t

This tool helps whenever an essay, assignment or report needs a reference list and the sources are books or websites: it builds the citation in the right shape, applies the italics where they belong, and lets you switch between MLA and APA to see the difference. It is most useful at the end of a piece of writing, when the sources are already decided and the job is purely formatting, and it saves the fiddly work of remembering where the commas and brackets go in each style.

It has clear limits. It covers books and websites only, with one author, in the basic formats of MLA 9th edition and APA 7th edition. It does not handle journal articles, chapters, edited volumes, videos, or sources with two or more authors, and it does not apply the finer rules such as edition numbers, volume and issue details, or access dates. It also cannot check that your details are correct — a misspelled author name or a wrong year passes straight through. For anything beyond a basic book or website, or for a strict submission, check the finished citation against the official style guide.

Frequently Asked Questions

What is the difference between MLA and APA citations?

Both styles list the same information in a different order and shape. MLA writes the author’s full first name, puts the year near the end, and uses commas between the parts; APA uses only the author’s initial, puts the year in brackets right after the author, and uses full stops. For websites they also differ on italics: MLA italicises the website name and puts the page title in quotation marks, while APA italicises the page title. Switch the style on this page with the same details filled in and you can see every difference at once.

What should I do if a source has no author?

Leave both author boxes blank and the citation will start with the title, which is what both styles ask for. For a book that means the title comes first, followed by the publisher and year; for a website it means the page title comes first, followed by the website name, year and URL. Do not invent an author or use the website’s name as the author unless the site itself names it as one.

What does “(n.d.)” mean in an APA citation?

It stands for “no date”, and it is APA’s own way of showing that a source gives no publication year. This generator shows “(n.d.)” in APA citations when you leave the year box blank. In MLA the year is simply left out. Either way, a missing year is better than a guessed one.

Related Tools