Black Holes swallow anything that gets trapped in its voracious gravitational pull. Stars, gas, dust, planets, moons, etc. can all be swallowed by a Black Hole. No, it's too small for that! The Sun would need to be about 20 times more massive to end its life as a black hole.
Instead, the Sun will become a dense stellar remnant called a white dwarf. But if, hypothetically, the Sun suddenly became a black hole with the same mass as it has today, this would not affect the orbits of the planets, because its gravitational influence on the solar system would be the same. No, it's too small for that! The Sun would need to be about 20 times more massive to end its life as a black hole. Our sun isn't massive enough to trigger a stellar explosion, called a supernova, when it dies, and it will never become a black hole either. Micro black holes, also called mini black holes or quantum mechanical black holes, are hypothetical tiny (
Technically the Sun will never turn into a black hole as it is not massive enough, although it will turn into a white dwarf. But hypothetically if it were to become a black hole then yes it would suck up all the planets!