The Bracha Rishona on Raw Onions is as follows, Borei Pri Hoadama or Shehakol, and the Bracha Acharona is Borei Nefashos.
In a place where onions are eaten in their raw state, the Bracha is Hoadama. However in places where onions are generally not eaten raw, the Bracha on a raw onion will be Shehakol.
Blessed are You Hashem our God King of the universe, Who creates the fruits of the ground.
Blessed are You Hashem our God King of the universe, Everything was created through His words.
Baruch Atah Adonai, Eloheinu Melech Haolam, Borei Pri Hoadama.
Baruch Atah Adonai, Eloheinu Melech Haolam, Shehakol Nihyah Bidvaro.
Blessed are You, Hashem our God, King of the universe, Who creates numerous living things with their deficiencies; for all that You have created with which to maintain the life of every being. Blessed is He, the life of the worlds.
Baruch Atah Adonai Eloheinu Melech Haolam, Borei Nefashos Rabos V'chesronan Al Kol Ma Shebarasa L'hachayos Bahem Nefesh Kol Chai, Baruch Chei Haolamim.
ר' פנחס אליהו בן יעקב יוסף זצ"ל
ר' חיים יצחק בן דוד זצ"ל
In Memory Of