Biy.ly is a URL shortening site. You can use its services to generate URL dynamically from code. You will have to use the bit.ly api key.You just have to send the request to Bit.ly sever in a specific format and you will get the Shortened URL in the response.Let's generate a small demo application of bit ly Url generator.See the code for more information. Feel free to generate any number of URLs . Happy Coding !