<p>Use any software you normally use to create QR codes. Ask it to create QR for text <a href="https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki#simpler-syntax" rel="nofollow noreferrer"><code>bitcoin:&lt;address&gt;</code></a>.</p>
<p>That's all you need: a QR generation tool you trust.</p>

CC BY-SA 4.0
2020-11-28T09:15:54.267Z
2020-11-28T09:15:54.267Z
MCCCS
<p>A simple approach to this problem is simply to <strong>check each and every</strong> QR code that the software you want to use creates. You already know what the address you're supposed to be encoding is, so once you have the QR code, just scan it with a QR scanner and compare the output to your input. Of course, they should match.</p>
<p>A word of warning: there is a long history of scammers creating 'Bitcoin QR Code' making apps. As a naive user, this sounds great, but really its just the scammer's way of luring bitcoin users towards their fraudulent software. I would actively avoid any QR software which is marketed towards bitcoin users in this way - just your run of the mill QR code generating software should work just fine.</p>

CC BY-SA 4.0
2020-11-28T22:38:42.000Z
2020-11-28T22:38:42.000Z
chytrik
<p>Having a <a href="https://askubuntu.com/q/1383037/847449">similar</a> problem, I tried:</p>
<p><a href="https://i.sstatic.net/7Hspi.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7Hspi.png" alt="qr" /></a></p>
<p>as with:</p>
<pre><code>nicholas@mordor:~/qr$ 
nicholas@mordor:~/qr$ qrencode -o wallet.png '1F63UTxXHi7Cff4aDFdMGzgLt1CKuHpRot'
nicholas@mordor:~/qr$ 
nicholas@mordor:~/qr$ uname -a
Linux mordor 5.11.0-41-generic #45-Ubuntu SMP Fri Nov 5 11:37:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
nicholas@mordor:~/qr$ 
</code></pre>
<p>I, at least, would interested in the inverse operation from the console.  I tried a website and it seemed to return what I expected.</p>
<p>Although, I'm not at all sure that's what is required.  Comments requested.</p>

CC BY-SA 4.0
2021-12-21T05:14:35.007Z
2021-12-21T05:14:35.007Z
Nicholas Saunders
<h1>My Problem</h1>
<p>I am trying to generate a QR code for a public bitcoin address, preferably using command-line tools. The process poses a security risk because malicious software can generate a QR code that represents an address different than the one given as input.</p>
<h1>What Have I Tried</h1>
<p>Searching this site and Github. I only found some unmaintained repos with very low usage.</p>
<h1>My Question</h1>
<p><strong>How can I securely generate a QR representation for a bitcoin address from the command, using open-source software I can trust?</strong></p>

<qrcode>
How can I securely create a QR code from a bitcoin address?
Adam Matan
# How can I securely create a QR code from a bitcoin address?

(Asked by: username_0 on 2020-11-28)

# My Problem

I am trying to generate a QR code for a public bitcoin address, preferably using command-line tools. The process poses a security risk because malicious software can generate a QR code that represents an address different than the one given as input.

# What Have I Tried

Searching this site and Github. I only found some unmaintained repos with very low usage.

# My Question

**How can I securely generate a QR representation for a bitcoin address from the command, using open-source software I can trust?**

**Tags:** qrcode


---

## 3 answers

### Answer by username_1 on 2020-11-28. Score: 2 | Accepted answer

Use any software you normally use to create QR codes. Ask it to create QR for text [`bitcoin:<address>`](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki#simpler-syntax).

That's all you need: a QR generation tool you trust.


---

### Answer by username_2 on 2020-11-28. Score: 1

A simple approach to this problem is simply to **check each and every** QR code that the software you want to use creates. You already know what the address you're supposed to be encoding is, so once you have the QR code, just scan it with a QR scanner and compare the output to your input. Of course, they should match.

A word of warning: there is a long history of scammers creating 'Bitcoin QR Code' making apps. As a naive user, this sounds great, but really its just the scammer's way of luring bitcoin users towards their fraudulent software. I would actively avoid any QR software which is marketed towards bitcoin users in this way - just your run of the mill QR code generating software should work just fine.


---

### Answer by username_3 on 2021-12-21. Score: 0

Having a [similar](https://askubuntu.com/q/1383037/847449) problem, I tried:

[![qr](https://i.sstatic.net/7Hspi.png)](https://i.sstatic.net/7Hspi.png)

as with:

```
username_3@mordor:~/qr$ 
username_3@mordor:~/qr$ qrencode -o wallet.png '1F63UTxXHi7Cff4aDFdMGzgLt1CKuHpRot'
username_3@mordor:~/qr$ 
username_3@mordor:~/qr$ uname -a
Linux mordor 5.11.0-41-generic #45-Ubuntu SMP Fri Nov 5 11:37:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
username_3@mordor:~/qr$ 

```

I, at least, would interested in the inverse operation from the console. I tried a website and it seemed to return what I expected.

Although, I'm not at all sure that's what is required. Comments requested.


---

