A method can include deploying a diverter plug into a well, the diverter plug comprising a group of particles that are prevented from dispersing, flowing fluid, thereby conveying the diverter plug into engagement with a fluid passageway, the particles conforming to a shape of the fluid passageway as the diverter plug blocks fluid flow through the fluid passageway, and the particles being prevented from dispersing while the diverter plug blocks the fluid flow through the fluid passageway. The diverter plug can include a group of particles disposed within an outer enclosure. The particles in the enclosure can conform to a shape of the fluid passageway as the diverter plug blocks fluid flow through the fluid passageway. In another method, the enclosure can sealingly engage the fluid passageway while the particles remain disposed within the enclosure.