MiFlash Tool is used to flash Xiaomi's MIUI fastboot stock ROM or stock firmware files.
This is a direct link to download Xiaomi's MiFlash Tool for Windows.
As of now there are 4 files of the app available to download. You can select the drop-down box below to select which file to download
Follow this guide to know how to install MIUI Stock ROM on a Xiaomi phone.