Shrink Font to Fit jQuery Plugin Shrinks the target text font so that the text will never wrap Demo https://jsbin.com/bucata/3/edit?html,css,js,output Examples Simple $('.my-line').shrinkFontToFit(); Options $('.my-line').shrinkFontToFit({ minFontSize: 8, wrapAtMinSize: true });