Bahraini authorities on Tuesday released on "humanitarian" grounds opposition activist Zainab al-Khawaja, who had been imprisoned with her toddler son since March, a public prosecution official said.