Automatically Generate APA Citations with Perfect Formatting
Copy templates to use them anywhere:
Creating citations is an important part of writing papers, but getting it perfect every time is very challenging. There are so many different rules to remember when creating a citation,a nd students often lose points in grading due to errors.
This Text Blaze snippet will automatically create APA citations for you, perfectly formatted every time. It can create full citations, in-text citations, or both.
The best part is that, after the citation is automatically created, it gets added where you're already writing, in apps like Word or Google Docs.
Get the APA Citation Generator
{note}To create your citation, fill out all required fields (indicated with a *) as well as any additional fields necessary.
Your citation will be created at the bottom of this form. Only the citation will be output by this snippet.
Source
{formmenu: default=book; image; journal article; online video; textbook; website; name=source}
Citation Type
{formmenu: default=Full citation; In-text citation; name=citationtype; multiple=yes}
Selecting both will output both citations at once.
Citation Details
{if: source="book" or source="textbook"}
{if: includes(citationtype, "Full citation")}Year* {formtext: name=year}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}
Title* {formtext: name=title; cols=50}
Publisher* {formtext: name=publisher; cols=25}
Edition {formtext: name=edition; cols=25}
Include the ordinal indicator, such as "1st", "2nd", "3rd", or "4th"
Page(s){if: includes(citationtype, "In-text citation")}*{endif} {formtext: name=pages; cols=25}
Numbers only for a single page. Multiple pages should be separated with a - such as 10-15.
DOI {formtext: name=doi; cols=25}
ID only. Do not include https://www.doi.org/
URL {formtext: name=url; cols=50}
Include the full URL. If a DOI is included, URL will be ignored.
{elseif: includes(citationtype, "In-text citation") and not includes(citationtype, "Full citation"); trim=right}
Year* {formtext: name=year}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}
Pages* {formtext: name=pages; cols=25}
Numbers only for a single page. Multiple pages should be separated with a - such as 10-15.{endif}
{elseif: source="journal article"}
{if: includes(citationtype, "Full citation")}Year* {formtext: name=year}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}
Title* {formtext: name=title; cols=50}
Journal* {formtext: name=journal; cols=50}
DOI {formtext: name=doi; cols=25}
ID only. Do not include https://www.doi.org/
Volume {formtext: name=volume; cols=25}
Issue {formtext: name=issue; cols=25}
Page(s) {formtext: name=pages; cols=25}
Numbers only for a single page. Multiple pages should be separated with a - such as 10-15.
URL {formtext: name=url; cols=50}
Include the full URL. If a DOI is included, URL will be ignored
{elseif: includes(citationtype, "In-text citation") and not includes(citationtype, "Full citation"); trim=right}
Year* {formtext: name=year}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}{endif}
{elseif: source="website"}
{if: includes(citationtype, "Full citation")}Title* {formtext: name=title; cols=50}
Website Name* {formtext: name=website; cols=25}
URL* {formtext: name=url; cols=50}
Include the full URL
Publishing date: {formdate: YYYY, MMMM D; name=pubdate}
Date accessed: {formdate: MMMM D, YYYY; name=accessdate}
{elseif: includes(citationtype, "In-text citation") and not includes(citationtype, "Full citation"); trim=right}
Year* {formtext: name=year}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}{endif}
{elseif: source="image"}
{if: includes(citationtype, "Full citation")}Title or Description* {formtext: name=title; cols=50}
If the image has a title, use it. Otherwise, provide a description of the image [in square brackets like this].
Year* {formtext: name=year; cols=25}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}
Source {formtext: name=imagesource; cols=25}
URL {formtext: name=url; cols=50}
{elseif: includes(citationtype, "In-text citation") and not includes(citationtype, "Full citation"); trim=right}
Title or Description* {formtext: name=title; cols=50}
If the image has a title, use it. Otherwise, provide a description of the image.
Year* {formtext: name=year; cols=25}{if: testregex(year, "[^0-9]")}{error: Enter numbers only}{endif}{endif}
{elseif: source="online video"}
{if: includes(citationtype, "Full citation")}Channel or Username of video publisher* {formtext: name=channel; cols=25}
Publishing date* {formdate: YYYY, MMMM D; name=pubdate}
Title* {formtext: name=title; cols=50}
Website Name* {formtext: name=website; cols=50}
URL* {formtext: name=url; cols=50}{if: includes(citationtype, "Full citation") and includes(citationtype, "In-text citation")}
Timestamp* {formtext: name=timestamp}
Provide as HH:MM:SS{endif}
Note: Listing contributors is not required for online videos. Only add below if you have this information. Check this box if you'd like to include contributors in the citation: {formtoggle: name=Include Contributors in online video citation}
{elseif: includes(citationtype, "In-text citation") and not includes(citationtype, "Full citation"); trim=right}
Channel or Username of video publisher* {formtext: name=channel; cols=25}
Publishing date* {formdate: YYYY, MMMM D; name=pubdate}
Timestamp* {formtext: name=timestamp}
Provide as HH:MM:SS
{endif}{endif}
Contributor Details
{if: (not includes(citationtype, "Full citation")) and (source="online video" or source="image")}Contributor details are not necessary for in-text citations for {=source}.{else}Number of contributors: {formmenu: default=1; 2; 3; 4; 5; name=contributors}
Contributor 1
First Name{if: includes(citationtype, "Full citation")}*{endif} | Middle Initial | Last Name* | Suffix | Contributor Type* |
{formtext: name=c1first; cols=15} | {formtext: name=c1mi; cols=3} | {formtext: name=c1last; cols=15} | {formtext: name=c1suff; cols=3} | {c1type="Author"}{=c1type} |
Contributor 2
First Name{if: includes(citationtype, "Full citation")}*{endif} | Middle Initial | Last Name* | Suffix | Contributor Type* |
{formtext: name=c2first; cols=15} | {formtext: name=c2mi; cols=3} | {formtext: name=c2last; cols=15} | {formtext: name=c2suff; cols=3} | {if: source="journal article" or source="website" or source="image" or source="online video"}{c2type="Author"}{=c2type}{else}{formmenu: Author; Editor; Translator; name=c2type}{endif} |
Contributor 3
First Name{if: includes(citationtype, "Full citation")}*{endif} | Middle Initial | Last Name* | Suffix | Contributor Type* |
{formtext: name=c3first; cols=15} | {formtext: name=c3mi; cols=3} | {formtext: name=c3last; cols=15} | {formtext: name=c3suff; cols=3} | {if: source="journal article" or source="website" or source="image" or source="online video"}{c3type="Author"}{=c3type}{else}{formmenu: Author; Editor; Translator; name=c3type}{endif} |
Contributor 4
First Name{if: includes(citationtype, "Full citation")}*{endif} | Middle Initial | Last Name* | Suffix | Contributor Type* |
{formtext: name=c4first; cols=15} | {formtext: name=c4mi; cols=3} | {formtext: name=c4last; cols=15} | {formtext: name=c4suff; cols=3} | {if: source="journal article" or source="website" or source="image" or source="online video"}{c4type="Author"}{=c4type}{else}{formmenu: Author; Editor; Translator; name=c4type}{endif} |
Contributor 5
First Name{if: includes(citationtype, "Full citation")}*{endif} | Middle Initial | Last Name* | Suffix | Contributor Type* |
{formtext: name=c5first; cols=15} | {formtext: name=c5mi; cols=3} | {formtext: name=c5last; cols=15} | {formtext: name=c5suff; cols=3} | {if: source="journal article" or source="website" or source="image" or source="online video"}{c5type="Author"}{=c5type}{else}{formmenu: Author; Editor; Translator; name=c5type}{endif} |
How to Use the Citation Generator
- Select the source for your citation.
- Select if this is a full citation, an in-text citation, or both.
- Provide the information required to make the citation, noted with an asterisk (*).
- Once all the necessary information is entered, the citation will be generated at the bottom of the snippet.
- Click the "Insert" button to output the properly-formatted citation. The snippet will output only the citation, not the form you filled out to create it.