Dad’s Words tools

Bibliography Sorter

Sort bibliography entries alphabetically by author last name.

Bibliography
Sorted Bibliography

Sorted entries will appear here.

Paste, upload, or drop a file in the input panel to get started.

Entry detection and sort key extraction

Entries are separated by one or more blank lines — the same convention used by APA, MLA, Chicago, and most word-processor bibliography exports. The sort key is extracted from the first line of each entry using a regex that captures the leading author name up to the first comma, period, or parenthesis. Comparison uses localeCompare with sensitivity: 'base', so accented characters (García, Müller, Achebe) sort alongside their unaccented equivalents rather than collating at the end of the alphabet.

FormatFirst-line patternExtracted key
APAZweig, S. (1942). ...Zweig
MLAWoolf, Virginia. ...Woolf
ChicagoGarcía Márquez, Gabriel. ...García Márquez
Numbered (e.g. 1. Author)Digit prefix not in key regexMay extract number — sort manually
Tip: For APA entries with institutional or corporate authors (no personal last name), the tool extracts the full institution name as the sort key and alphabetises it correctly.

What the sorter does not handle

Numbered reference lists (Vancouver style, IEEE) where entries start with a numeral are not suited for this tool — the numeral will be extracted as the sort key. Entries with inverted author order already applied (Last, First) sort correctly; entries written as First Last (no comma) will sort on the first name, not the family name. The sorter does not renumber entries; after sorting, any in-text citation numbers will need to be updated manually.

Warning: Switching direction (A → Z vs Z → A) re-runs the entire sort on the current input, not just reverses the previous output. If you have edited the output panel, those changes are discarded.

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Words tools

Search the Words tools