{"id":425,"date":"2023-02-15T07:01:40","date_gmt":"2023-02-15T07:01:40","guid":{"rendered":"https:\/\/www.tools.keywordfinder.us\/?page_id=425"},"modified":"2023-04-18T14:29:03","modified_gmt":"2023-04-18T14:29:03","slug":"bin-converter","status":"publish","type":"page","link":"https:\/\/tools.billionsideas.com\/hi\/bin-converter\/","title":{"rendered":"BIN Converter"},"content":{"rendered":"<!DOCTYPE html>\n<html>\n<head>\n  <h5>PNG, JPG, JPEG, WEBP, ICO, BMP, AVIF, TIF, TIFF, GIF, BIN to BIN Converter<\/h5>\n  \n<\/head>\n<body>\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"style.css\">\n  <center><section>\n      <br\/><h1>BIN Converter<\/font><\/h1><br\/>\n      \n\n\n  <input type=\"file\" id=\"fileInput\" onchange=\"convertImage()\">\n  <br>\n  <a id=\"downloadLink\" style=\"display: none;\">Download BIN<\/a><br\/>\n  <\/section>\n<\/center>\n      \n\n  <script src=\"script.js\"><\/script>\n\n\n      \n      \n      \n      \n      \n<style>\nh5{margin:11px;color:#fff;line-height:22px;font-size:18px;}\ninput[type=file]::file-selector-button {\n  background: #fc00c7;\n    background: -moz-linear-gradient(-45deg, #fc00c7 0%, #1c4efd 54%, #00aded 100%);\n    background: -webkit-linear-gradient(-45deg, #fc00c7 0%,#1c4efd 54%,#00aded 100%);\n    background: linear-gradient(135deg, #fc00c7 0%,#1c4efd 54%,#00aded 100%);\n}\n\ninput[type=file]::file-selector-button {\n  border: 0px solid hotpink;\n  padding: 16px 21px;\n  margin-bottom:20px;\n  border-radius: 15%;\n  background-color: #55555E;\n  font-weight: 500;\n    font-family: 'Poppins', sans-serif;\n  cursor:pointer;\n  float:center;\n  color:white;\n  font-size:22px; \n  vertical-align:middle;\n  position:relative;\n  width:100%;margin:0 auto;\n  \n  \n}\n\ninput[type=file]::file-selector-button:hover {\n  background: #0033cc;\n    background: -moz-linear-gradient(-45deg, #00aded 0%, #ff7f00 54%, #1c4efd 100%);\n    background: -webkit-linear-gradient(-45deg, #00aded 0%,#ff7f00 54%,#1c4efd 100%);\n    background: linear-gradient(135deg, #00aded 0%,#ff7f00 54%,#1c4efd 100%);\n}\n\ninput[type=\"file\" i] {\n    appearance: none;\n    background-color: transparent;\n    cursor: default;\n    align-items: baseline;\n    color: inherit;\n    text-overflow: ellipsis;\n    white-space: pre;\n    text-align: start !important;\n    \n    border: none;width:25%;\n    overflow: hidden !important;\n}\n\n\n\nsection {\n      \n      \n      align-items: center;\n      background: #f2f2f2;\n      padding: 0px;\n      border-radius: 0px;margin-bottom:3px;\n    }\n\n\n\nsection {\n \n  text-align: center;\n}\n\nh1 {\n  margin-top: 5px;color:#4A443C;font-family: 'Space Grotesk', sans-serif;font-size:40px;font-weight:500;\n}\n\n#fileInput {\n\n  margin-bottom: 20px;\n}\n\n#convertedImage {\n  max-width: 30%;\n  margin-bottom: 5px;\n  align-items: center;\nbackground:#fff;\nborder:1px solid grey;\npadding:20px;\n}\n\n\n#downloadLink {\n  background: #fc00c7;\n    background: -moz-linear-gradient(-45deg, #fc00c7 0%, #1c4efd 54%, #00aded 100%);\n    background: -webkit-linear-gradient(-45deg, #fc00c7 0%,#1c4efd 54%,#00aded 100%);\n    background: linear-gradient(135deg, #fc00c7 0%,#1c4efd 54%,#00aded 100%);\n}\n\n\n#downloadLink {font-size: 16px;\n    font-weight: 500;\n    font-family: 'Poppins', sans-serif;\n    padding: 0px 50px;\n    line-height: 50px;\n    text-align: center;\n    outline: none;\n    cursor: pointer;\n    color: #fff;\n    background-color: #000;\n    -webkit-border-radius: 20%;\n    border-radius: 20%;\n    display: inline-block;\n    position: relative;\n    -webkit-box-shadow: 0 10px 15px 0px rgb(233 30 99 \/ 15%);\n    box-shadow: 0 10px 15px 0px rgb(233 30 99 \/ 15%);\n    text-shadow: 2px 2px 4px #333;\n    \n    font-size: 18px;\n    margin-top:15px;margin-bottom:45px;width:25%;margin:0px auto;\n}\n\n#downloadLink:hover\n {\n  background: #0033cc;\n    background: -moz-linear-gradient(-45deg, #00aded 0%, #ff7f00 54%, #1c4efd 100%);\n    background: -webkit-linear-gradient(-45deg, #00aded 0%,#ff7f00 54%,#1c4efd 100%);\n    background: linear-gradient(135deg, #00aded 0%,#ff7f00 54%,#1c4efd 100%);\n}\n\n#downloadLink:active {\n  animation: pulse 1s ease-out infinite;\n  border-color: #000;background:#000;\n}\n\n<\/style>\n\n<script>\nfunction convertImage() {\n  \/\/ Get the file input element\n  var fileInput = document.getElementById(\"fileInput\");\n\n  \/\/ Get the first file from the input (assumes only one file is selected)\n  var file = fileInput.files[0];\n\n  \/\/ Create a FileReader object\n  var reader = new FileReader();\n\n  \/\/ Add an event listener for when the file is loaded\n  reader.addEventListener(\"loadend\", function() {\n    \/\/ Get the binary data of the file\n    var binaryData = reader.result;\n\n    \/\/ Create a link for downloading the BIN image\n    var downloadLink = document.getElementById(\"downloadLink\");\n\n    \/\/ Set the href of the link to the binary data of the file\n    downloadLink.href = \"data:application\/octet-stream,\" + encodeURIComponent(binaryData);\n\n    \/\/ Set the download attribute to the original file name with .bin extension\n    downloadLink.download = file.name.replace(\/\\..+$\/, \".bin\");\n\n    \/\/ Show the download link\n    downloadLink.style.display = \"block\";\n  });\n\n  \/\/ Read the file as a binary string\n  reader.readAsBinaryString(file);\n}\n\n<\/script>\n\n<\/body>\n<\/html>\n      \n     \n\n     \n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/tools.billionsideas.com\/wp-content\/uploads\/2023\/03\/BIN-Converter-BI-Tools.png\" alt=\"BIN Converter BI Tools\" class=\"wp-image-3516\" srcset=\"https:\/\/tools.billionsideas.com\/wp-content\/uploads\/2023\/03\/BIN-Converter-BI-Tools.png 1024w, https:\/\/tools.billionsideas.com\/wp-content\/uploads\/2023\/03\/BIN-Converter-BI-Tools-300x150.png 300w, https:\/\/tools.billionsideas.com\/wp-content\/uploads\/2023\/03\/BIN-Converter-BI-Tools-768x384.png 768w, https:\/\/tools.billionsideas.com\/wp-content\/uploads\/2023\/03\/BIN-Converter-BI-Tools-18x9.png 18w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>","protected":false},"excerpt":{"rendered":"<p>PNG, JPG, JPEG, WEBP, ICO, BMP, AVIF, TIF, TIFF, GIF, BIN to BIN Converter BIN Converter Download BIN<\/p>","protected":false},"author":1,"featured_media":3518,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","footnotes":""},"class_list":["post-425","page","type-page","status-publish","has-post-thumbnail"],"taxonomy_info":[],"featured_image_src_large":["https:\/\/tools.billionsideas.com\/wp-content\/uploads\/2023\/03\/BIN-Converter.png",800,500,false],"author_info":{"display_name":"Billions Ideas","author_link":"https:\/\/tools.billionsideas.com\/hi\/author\/loginbillionsideas-com\/"},"comment_info":0,"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/pages\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/comments?post=425"}],"version-history":[{"count":0,"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/pages\/425\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/media\/3518"}],"wp:attachment":[{"href":"https:\/\/tools.billionsideas.com\/hi\/wp-json\/wp\/v2\/media?parent=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}