How to Generate QR Code using Java

Generate QR Code using Java

In this example, We will show you about, How to Generate QR Code using Java. The example program has been tested with environment and shared in the post.

Project Structure

Generate QR Code using Java

QRCodeGenerator.java

Output

—————
What Text you want to Convert to QR Code ?
http://www.dineshkrish.com
What File Name you want to keep for QR Code Image ?
dineshkrish
The QR Code Generated Successfully.

Generated QR Code

Generate QR Code using Java

Download Source Code

Download Here

References

1. Zxing Distribution
2. Zxing API JavaDoc