Skip to content

Splitwise import 2.0 #307

Open
Open

Description

@krokosik

The Context

There are numerous issues raised (#271 #207 #46 ...) with the current state of Splitwise import and I would like to group them all together, as well as gather feedback for how I would like to rework the current flow.

Currently, we rely on an external hosted solution, to generate a JSON with SOME data fetched from Splitwise API. Looking at the code, it is very simple. We do not import expenses and with the planned #234, such imported accounts will break.

The background for not importing expenses was the fact, that we do not want to overload the Node server with processing of JSONs, which could slow down the app (this concern was probably related more to the public instance) #29

The Plan

Along the way, we might switch to https://github.com/athulanilthomas/splitwise-ts

Nice to have

  • more granular import, allow importing a subset of groups/friends
  • toggle for archived groups
  • toggle for not importing settled up expenses
  • ability to sync Splitwise data after it has been imported

Activity

  1. added this to the 1.6 milestone on Aug 13, 2025
  2. added theissue type on Aug 13, 2025
  3. krokosik commented on Aug 13, 2025

    @krokosik
    CollaboratorAuthor

    Feel free to comment your opinions on this and please keep all Splitwise import related discussion here

  4. krokosik commented on Sep 2, 2025

    @krokosik
    CollaboratorAuthor

    Okay, I see now that the terms of use for the Splitwise API, unsurprisingly, explicitly disallow using it for developing a competing service to their product. I see 2 paths forward:

    1. Create another hosted app like the one currently used, but with extended functionality
    2. Limit ourselves to their official CSV exports.
  5. rodrigost23 commented on Sep 3, 2025

    @rodrigost23
    Contributor

    Is the CSV too limited? Does it lack information?

  6. krokosik commented on Sep 17, 2025

    @krokosik
    CollaboratorAuthor

    @rodrigost23 It's more work for me to implement it mostly + I'm not sure if you can read parts of a csv into memory in JS.

  7. krokosik commented on Sep 17, 2025

    @krokosik
    CollaboratorAuthor

    And a full CSV export seems to be a premium feature

  8. removed this from the 1.6 milestone on Sep 21, 2025
  9. rodrigost23 commented on Sep 27, 2025

    @rodrigost23
    Contributor

    I'm able to export CSVs by friend or by group without being a premium subscriber, and it downloaded all transactions since 2019 (which means everything I have there) in the following format:

    Date Description Category Amount Currency Person 1 Name Person 2 Name
    2019-08-01 Snack Food 50 BRL -25 25
    ... ... ... ... ... ... ...
    2025-09-27 Total balance BRL -500 500

    Not a very good machine-readable format anyway, especially considering everything came translated. So not only the headers were translated, but also category names were in Portuguese.

    Maybe having a way to import SplitPro data in its own format (json?) would be ideal, so a converter from Splitwise API or CSV could be part of that external hosted app, not part of SplitPro so to not infringe their terms.

  10. Luifr commented on Jan 13, 2026

    @Luifr

    Any user can export CSV data without premium account

    CSV export is per group or person
    When exporting data for a person only non-group transactions are exported

    I would like to be able to import group expenses via CSV

    Each row will be a transaction in split-pro db, the user will have to map each split wise person to a spli-pro person (or create a new one with the same name as a default)

  11. Uli-Z commented on Apr 23, 2026

    @Uli-Z

    Hey guys, I just stumbled over this project as i'm kinda disappointed by my current used Splitwise-alternative Spliit.

    As you are thinking about this Splitwise-CSV-Import feature: The CSV format is not ideal as it lacks some informations. I worked on that problem for a (still pending) PR for Spliit and found a pretty good solution. Maybe you want to check it out to get some inspiration:
    spliit-app/spliit#483

  12. davidrudlstorfer commented on Apr 23, 2026

    @davidrudlstorfer

    @Uli-Z do you know more regarding Spliit? I also looked into Spliit and it seems kinda dead. This repo should be a really good alternative and your PR on the topic of this issue looks good

  13. rodrigost23 commented on Apr 23, 2026

    @rodrigost23
    Contributor

    @Uli-Z There's a WIP approach in #465. It's different than spliit-app/spliit#483, as it does not use CSV, but relies on oss-apps/export-splitwise#2 instead.

  14. Mufaddal5253110 commented on May 24, 2026

    @Mufaddal5253110

    Hey! I've opened a PR for this: #660

    Happy to discuss further. Looking forward to feedback!

  15. krokosik commented on May 25, 2026

    @krokosik
    CollaboratorAuthor

    Sorry, I don't accept 100% vibe coded PRs, especially of this size. Most importantly I cannot accept it due to the fact that it violates the Splitwise API ToS.

  16. maxdd commented on May 28, 2026

    @maxdd

    How much time can we hope to wait to have an easy way to move over to split-pro? I think a lot of us are waiting this to get away from splitwise

  17. ZenoBell commented on May 29, 2026

    @ZenoBell

    How much time can we hope to wait to have an easy way to move over to split-pro? I think a lot of us are waiting this to get away from splitwise

    I was in the same position and didn't/couldn't want to manually recreate years of Splitwise history. (since 2020)

    I ended up building a one-time import script against the Split Pro database and the Splitwise API. It imported my users, groups, and around ~1500 historical expenses successfully.

    A few observations:

    It was a migration tool, not a permanent integration. (so like that it's less invasive,no UI/routes/runtime integration)
    It required mapping existing Split Pro users to Splitwise users. (Splitwise-user-ID → Split-Pro-user-ID mapping and not based on emails)
    I tested locally first, doublechecked all the entries fast and then I ran it on my homelab. (it includes dry-run, rollback, idempotency(transactionId = splitwise:<id>), user mapping, skipped-expense logs, and production backup instructions )
    Once the import was complete, all expenses became normal Split Pro data.

    Also to be noted i tested only on my data and we were always only two users.

    I don't think this is something that should be implemented for various reasons, but it convinced me that a migration path is very feasible and would probably help a lot of people move from Splitwise.

    If someone is interested, I'd be happy to share notes about the migration process and edge cases I encountered via PM.

  18. maxdd commented on May 30, 2026

    @maxdd

    I would be more than happy to try it. Will you open a repo?

  19. krokosik commented on May 30, 2026

    @krokosik
    CollaboratorAuthor

    @maxdd I know it's a blocker for some, but I have very little spare time for Split Pro and when I actually do work on it, I prioritize issues current users face, so I can't really give any ETA on that :/

  20. maxdd commented on May 30, 2026

    @maxdd

    That's fine and congrats for the great project. It is just s pity to loose all the entries on Splitwise. So it is not a full replacement for me yet

  21. ZenoBell commented on May 31, 2026

    @ZenoBell

    I would be more than happy to try it. Will you open a repo?

    Please use it with caution and make sure to back up your database before running it. The importer is available here: splitwise-to-splitpro-importer.

  22. rodrigost23 commented on Aug 14, 2026

    @rodrigost23
    Contributor

    What if we had a specific format to import data to SplitPro? This way people could make their own external tools that convert their data to the SplitPro format without having to insert directly to database, for instance. It would be an easier way to not having to maintain import features from other services directly.

  23. p18dh28ejfi commented on Aug 17, 2026

    @p18dh28ejfi

    You can use the 7-day Splitwise Pro trial to get the JSON export.
    It only imported the final balances for me, not the individual line items/transactions. Pretty disappointing, but good to know before trying.

  24. krokosik commented on Aug 18, 2026

    @krokosik
    CollaboratorAuthor

    @rodrigost23 yes, given the fact that API now requires PRO, that might be the way to go. We could build around the current format and extend it with info that is right now missing and publish a JSON schema

  25. added this to the 2.3 milestone on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions