In this paper, we construct an algorithm to produce canonical grid diagrams of cable links and Whitehead doubles, which give sharper upper bounds of the arc index of them. Moreover, we determine the arc index of 22-cable links and Whitehead doubles of all prime knots with up to eight crossings.