MAL to anilist xml exporter.
A simple utility that converts custom or non-standard MyAnimeList XML exports to a format compatible with AniList's import system.
This tool transforms XML anime list files into the standard MyAnimeList format that AniList accepts for importing. It preserves anime titles, status categories (watching, completed, plan to watch, etc.), and MAL IDs for proper matching during import.
- Converts custom XML anime list exports to standard MAL format
- Preserves watch status information
- Maintains anime titles and identifiers
- Simple command-line interface
- Ruby
- Nokogiri gem (
gem install nokogiri
)
ruby anhilist.rb INPUT_FILE [-o OUTPUT_FILE]
# or
python anhilist.py INPUT_FILE [-o OUTPUT_FILE]
INPUT_FILE
: Path to your input XML file-o, --output OUTPUT_FILE
: (Optional) Custom output filename (default: "myanimelist_export.xml")
ruby anhilist.rb hianime_mal_export_list.xml -o my_anilist_import.xml
The script expects input XML with the following structure:
<list>
<folder>
<name>Plan to watch</name>
<data>
<item>
<name>Anime Title</name>
<link>https://myanimelist.net/anime/12345</link>
</item>
<!-- More items... -->
</data>
</folder>
<!-- More folders (Watching, Completed, etc.)... -->
</list>
And converts it to AniList-compatible format:
<myanimelist>
<anime>
<series_animedb_id>12345</series_animedb_id>
<series_title>Anime Title</series_title>
<my_status>6</my_status>
<!-- Other required fields... -->
</anime>
<!-- More anime entries... -->
</myanimelist>
MIT