ao3 webpage converter
this page lets you upload an html download from ao3 (the kind you get from the Download ↓ button) and turn it into html webpages, with one for each chapter! all processing is done directly in your browser.
variables (can be used with both the filename pattern and the template):{{ title }}- replaced with title of the story{{ chapterTitle }}- replaced with title of the chapter. doesn't exist if there is no chapter title.{{ chapterContent }}- replaced with content of the chapter{{ chapterNumber }}- replaced with current chapter number{{ paddedChapterNumber }}- replaced with current chapter number padded with zero (e.g. 01, 02, 03). number of leading zeroes depends on the highest chapter number, so if there's 100 chapters it would be 001, 002, etc.{{ wordChapterNumber }}- replaced with current chapter number as a word (e.g. one, two, three){{ titleCaseWordChapterNumber }}- replaced with current chapter number as a word with title case (e.g. One, Two, Three){{ allCapsWordChapterNumber }}- replaced with current chapter number as a word in all caps (e.g. ONE, TWO, THREE){{ prevChapterLink }}- link to the previous chapter. doesn't exist if there is no previous chapter.{{ nextChapterLink }}- link to the next chapter. doesn't exist if there is no next chapter.{{ preChapterAuthorsNote }}- an author's note that appears before the chapter. doesn't exist if there is no author's note.{{ postChapterAuthorsNote }}- an author's note that appears after the chapter. doesn't exist if there is no author's note.
- currently, adding slashes to the filename pattern will break generated links!
- links in the preview will not work properly. to navigate to different pages, please use the dropdown
-
if you want a section to only appear if a variable exists, you can use:
{{ #variableName }} this text only appears if {{ variableName }} exists! {{ /variableName }} -
if you want a section to only appear if a variable doesn't exist, you can use:
{{ ^variableName }} this text only appears if {{ variableName }} doesn't exist! {{ /variableName }} - for more information about templates, check the mustache manual!
Upload HTML File:
Template: