{"id":44809,"date":"2018-06-11T21:01:53","date_gmt":"2018-06-11T13:01:53","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=44809"},"modified":"2018-06-11T23:17:40","modified_gmt":"2018-06-11T15:17:40","slug":"run-sql-code-in-your-browser-with-sqlpad","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/","title":{"rendered":"Run SQL Code in Your Browser With SQLPad"},"content":{"rendered":"<p>The rise of <a href=\"https:\/\/www.hongkiat.com\/blog\/cloud-ide-developers\/\">cloud-based IDEs<\/a> makes it easy to code from anywhere. With cloud IDEs you can learn how to build websites without any coding software at all!<\/p>\n<p>And with browser advancements you can even start running more dynamic codes like database SQL. The free <a href=\"https:\/\/rickbergfalk.github.io\/sqlpad\/\" target=\"_blank\">SQLPad webapp<\/a> is a great tool for <strong>anyone who\u2019s practicing SQL or frequently testing code snippets<\/strong>.<\/p>\n<p>To get this setup you do need to run some <a href=\"https:\/\/www.hongkiat.com\/blog\/developers-command-line\/\/\">CLI commands<\/a> but they\u2019re not too difficult. The entire setup should take less than 5 minutes and in the end you\u2019ll have a really cool SQL testing tool.<\/p>\n<p class=\"note\"><strong>Read Also:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/tools-to-coding-online\/\">15 Websites To Test Your Codes Online<\/a><\/p>\n<figure><a href=\"https:\/\/rickbergfalk.github.io\/sqlpad\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg\" alt=\"sqlpad webapp testing sql code\" width=\"1000\" height=\"554\"><\/a><\/figure>\n<p>Take a peek at the <a href=\"https:\/\/rickbergfalk.github.io\/sqlpad\/installation-and-administration\/\" target=\"_blank\">installation page<\/a> to get started. This includes all the commands you need to run along with a link to the main <a href=\"https:\/\/github.com\/sqlpad\/sqlpad\" target=\"_blank\">GitHub repo<\/a>.<\/p>\n<p>From there you\u2019ll be able to setup a <strong>local host SQL environment<\/strong> that connects to a simple IDE in your web browser. You can run codes for MySQL, Postgres, SQL Server, anything!<\/p>\n<p>Just note this doesn\u2019t work <em>exactly<\/em> like the other cloud-based apps. Websites like CodePen are hosted on their own servers and you can save your codes to share with the world.<\/p>\n<p>With SQLPad you\u2019re using a <strong>local webapp<\/strong> that runs on a localhost server.<\/p>\n<p>By following the installation guide you\u2019ll end up with a really handy testing tool, even if it doesn\u2019t connect to the Internet. Granted it may not be so good for hosting websites, but it\u2019s <strong>enough to test your SQL commands<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/02-sqlpad-example-graph-data.jpg\" alt=\"sqlpad sample data graph\" width=\"1000\" height=\"530\"><\/figure>\n<p>When you enter long SQL codes you can save them as snippets for later use and even organize them into collections.<\/p>\n<p>Plus SQLPad has its own performance testing tools so you can track how your SQL code runs in real time. Pretty cool right?<\/p>\n<p>Have a look at the <a href=\"https:\/\/rickbergfalk.github.io\/sqlpad\/\" target=\"_blank\">main page<\/a> to see what else SQLPad has to offer. The install guide is pretty simple and you can find even more info on the <a href=\"https:\/\/github.com\/sqlpad\/sqlpad\" target=\"_blank\">main GitHub page<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Practice SQL or test the SQL code snippets right in your browser.<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3393],"tags":[511],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Run SQL Code in Your Browser With SQLPad - Hongkiat<\/title>\n<meta name=\"description\" content=\"Practice SQL or test the SQL code snippets right in your browser.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run SQL Code in Your Browser With SQLPad\" \/>\n<meta property=\"og:description\" content=\"Practice SQL or test the SQL code snippets right in your browser.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-11T13:01:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-11T15:17:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Run SQL Code in Your Browser With SQLPad\",\"datePublished\":\"2018-06-11T13:01:53+00:00\",\"dateModified\":\"2018-06-11T15:17:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/\"},\"wordCount\":335,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/run-sql-code-in-your-browser-with-sqlpad\\\/01-example-sqlpad-homepage.jpg\",\"keywords\":[\"Web Developers\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/\",\"name\":\"Run SQL Code in Your Browser With SQLPad - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/run-sql-code-in-your-browser-with-sqlpad\\\/01-example-sqlpad-homepage.jpg\",\"datePublished\":\"2018-06-11T13:01:53+00:00\",\"dateModified\":\"2018-06-11T15:17:40+00:00\",\"description\":\"Practice SQL or test the SQL code snippets right in your browser.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/run-sql-code-in-your-browser-with-sqlpad\\\/01-example-sqlpad-homepage.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/run-sql-code-in-your-browser-with-sqlpad\\\/01-example-sqlpad-homepage.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/run-sql-code-in-your-browser-with-sqlpad\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run SQL Code in Your Browser With SQLPad\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Run SQL Code in Your Browser With SQLPad - Hongkiat","description":"Practice SQL or test the SQL code snippets right in your browser.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/","og_locale":"en_US","og_type":"article","og_title":"Run SQL Code in Your Browser With SQLPad","og_description":"Practice SQL or test the SQL code snippets right in your browser.","og_url":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2018-06-11T13:01:53+00:00","article_modified_time":"2018-06-11T15:17:40+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Run SQL Code in Your Browser With SQLPad","datePublished":"2018-06-11T13:01:53+00:00","dateModified":"2018-06-11T15:17:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/"},"wordCount":335,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg","keywords":["Web Developers"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/","url":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/","name":"Run SQL Code in Your Browser With SQLPad - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg","datePublished":"2018-06-11T13:01:53+00:00","dateModified":"2018-06-11T15:17:40+00:00","description":"Practice SQL or test the SQL code snippets right in your browser.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/run-sql-code-in-your-browser-with-sqlpad\/01-example-sqlpad-homepage.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/run-sql-code-in-your-browser-with-sqlpad\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Run SQL Code in Your Browser With SQLPad"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-bEJ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/44809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=44809"}],"version-history":[{"count":2,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/44809\/revisions"}],"predecessor-version":[{"id":44815,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/44809\/revisions\/44815"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=44809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=44809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=44809"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=44809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}