Graphic black and white squares, known as Quick Response (QR) code is a matrix barcode, which allows easy interaction between mobile and websites or printed material by doing away with the necessity of manually typing a URLor contact information. From the pages of magazines to the sides of buses and billboards, QRcode technology is being used increasingly in smartphones. Unfortunately, Phishers have started using QR code for phishing attacks by using some features of QR code. This paper introduces a new approach called “TrustQR” which detects URL phishing on QR code. It uses QR code specific features and URL features to detect if the QR code content has a phishing URL. Some of the QR code specific features use QR code content and its characteristics like length, type, and level of error correction to generate the cryptography key. This technique uses the machine learning classification technique.