Based on github.com/miekg/dns compiled with GopherJS.
Enter the output of dig [...] DNSKEY (or anyway the DNSKEY records) here:
dig [...] DNSKEY
Convert