XperiFirm is the official Tool that helps you to Download the Stock Firmware of Sony Xperia smartphones and Tablets.
Here on this page, we have managed to share the official and tested version of the XperiFirm Tool, i.e., XperiFirm v5.0.0.

XperiFirm v5.0.0 Tool
If you wish, you can use the following links to get the XperiFirm on your Computer. We recommend you to use the Latest Version of XperiFirm for more stability and support.
Tool Name: XperiFirm_v5.0.0.zip
Alternative Name: XperiFirm v5.0.0
How to use: Follow Guidelines
How to Download: See Example
Tool Size: 191 KB
Readme:
[*] How to use XperiFirm Tool: If you want to learn to use XperiFirm Tool to Download the Stock Firmware, then head over to the How to use XperiFirm Tool page.
[*] Download latest version of XperiFirm Tool: If you are looking for the latest version of XperiFirm Tool, then head over to the Download Section page.
[*] Sony Xperia Firmware: If you want to download the Stock Firmware of Sony Xperia Devices, then head over to Sony Xperia Firmware page.
[*] Sony Xperia Driver: If you want to download the Official Sony Xperia USB Driver, then head over to the Sony Xperia Driver Page.
[*] Caution: Flashing the incorrect firmware on the Xperia Device can brick it. Therefore, be very careful in choosing the correct firmware of your Xperia device.
[*] Hot-Linking Not Allowed: If you desire or wish to share the XperiFirm Tool on any website or Forum then we request you to please share the page URL, instead of sharing the Direct Link.