Tag optimal extraction