loading [
0%
]
EN
☽
EN
RU
☀
☽

Database reorganization

How to bulk-rename, recategorize and clean up Mo-mo-money operations through a backup and bring the result back into the app.


Why

The app suggests names from the ones you already used. When the same expense is written as “Grocer”, “grocer ” and “Grocer downtown”, the hint shows three options and statistics split one habit into three. “NoName” entries after a bank import are worse: they say nothing at all. The tool fixes this in bulk — thousands of operations in one pass.

What you need

  1. In Mo-mo-money: Settings → Export backup. Save the JSON file.
  2. Open this page on a computer or a phone and press “Reorganize database”.
  3. Drop the file into the window or tap the upload area and pick it.
  4. Check the data language — the one the app ran in. The tool guesses it from the names in the backup; if the guess is right, just press “Next”.

The file is parsed only in your browser. Heavy work runs in background threads, so the page stays responsive even with hundreds of thousands of operations.

Rules

A rule is “find → change”. Rules run in order, and each one sees the result of the previous one: first merge “grocer” into “Grocer”, then move all of “Grocer” to “Food”.

Find (all conditions at once):

  • operation type — expense, income, transfer;
  • names — exact match ignoring case and surrounding spaces, with frequency-based hints like in the app; a separate checkbox picks unnamed operations;
  • wallets — all or selected; a transfer matches by either of its two wallets;
  • categories and subcategories — a whole category or single subcategories;
  • amount from/to, date from/to;
  • comment — any, empty or containing a text.

Change:

  • new name;
  • category and subcategory — applied only to operations of the same type (an expense category never lands on an income), the rest is reported as skipped;
  • comment — set, clear or replace a part of it;
  • delete matched operations. Only simple operations on regular wallets are deleted, and the wallet balance is recalculated. Planned, credit, installment, fee operations and anything other records refer to are skipped — the report shows how many and why.

Amount, wallet and date are never changed — the tool edits the description of money, not money.

Helpers

  • Find similar names — groups typos and spelling variants. “Make a rule” creates a rule that folds the group into its most frequent variant. Matching follows the data language: “ё” and “е”, accents, “ß” and “ss” count as one letter. Names the app writes itself (“Interest”, “Проценты”, “Zinsen”) land in one group and fold into the spelling of the chosen language, and “Untitled” in any of the 11 languages counts as an empty name.
  • Presets — a rule set is saved as a JSON file and loaded back. Handy for regular clean-ups.
  • Bank import rules — when checked, saved import mappings get the new names and categories, so the next import lands the new way.
  • Preview — for every rule: matched, changed, deleted, skipped, and the first 50 operations “before → after”.

What to do with the result

“Build backup” downloads momoney-rebased-<date>.json.

  1. Move the file to your phone.
  2. In Mo-mo-money: Settings → Import backup and pick the file.
  3. The app asks how to import it:
    • Merge — the safe option. Changed records replace their old versions, everything you added after the export stays.
    • Overwrite — the database is replaced by the file entirely. “Save a copy and overwrite” first saves a safety copy of the current database and will not proceed without it. Language, onboarding and bank import settings are kept.

Better not to add operations between the export and the import. If you did, the app warns you: wallet balances return to the values from the backup, and the new operations need a check.

If something goes wrong, restore the safety copy the same way with “Overwrite”.

Database reorganization
  1. File
  2. Rules
  3. Review
  4. Export

Choose a Mo-mo-money backup Drop the backup anywhere in the window

The momoney_backup_*.json file from the app: Settings → Export backup.

The file is processed only in your browser and is never uploaded.

Rule templates

Templates are stored only in this browser, on this device. Nothing is sent to a server: neither rules nor operations. You can delete them at any time.

Saved ·

No saved templates yet.

    File