Fiddle Sites To Test Your Code

Fiddles

CC 2.0 image courtesy Judy Dean on Flickr

Fiddle sites have expanded lately and there’s a fiddle for most technologies. A fiddle site is a code playground or sandbox where developers can experiment with code without having to create sample projects in an IDE. Typically these websites feature:

  • a code window with syntax highlighting
  • a preview pane to see your results
  • code validation and code clean-up capabilities
  • the ability to save your work to your account or download it your machine
  • the ability to share your code snippets via short URL
  • free access (with some premium services requiring payment)

Languages

The following is a list of some of the major fiddle sites broken down by language:

C++ C++ Fiddle
C# C# Pad | .NET Fiddle
CSS CodePen | CSSDeck | Fiddle Salad | JS Bin | JSFiddle.net
Clojure cljsfiddle.net
CoffeeScript Fiddle Salad
F# .NET Fiddle
Go Go Playground
HTML CodePen | CSSDeck | Fiddle Salad | JS Bin | JSFiddle.net
JavaScript CodePen | CSSDeck | Fiddle Salad | JS Bin | JSFiddle.net
Markdown Fiddle.md | Fiddle Salad
NodeJS JSFiddle.net | RunKit
PHP PHP Fiddle | PHP Tester
Python Python Fiddle
R R-Fiddle
Regex Refiddle | RegExr
Ruby Ruby Fiddle
Rust Rust Playground
SQL SQL Fiddle
Scala ScalaFiddle.io | ScalaFiddle.net | Scala Kata
Swift IBM Swift Sandbox
VB.NET .NET Fiddle

Multi-Language Sites

Some sites can perform checks against multiple programming languages at once. If you are also looking for one editor that has multi-language support, use the sites below:

Summary

The above tools allow you to test your code quickly and easily. You can tweak the source code on a site until you are happy with it and then incorporate it into your project. This allows you keep your developer machine free of projects created to just test and debug code.

Is there a web-based sandbox tool you use not listed here? Share it in the comments below.

Advertisements

About Ken Cenerelli
I am a Programmer Writer, .NET Developer, Microsoft MVP - Visual Studio and Development Technologies, Public Speaker, Blogger, and Microsoft Azure Nerd. I blog regularly at kencenerelli.wordpress.com and can be found on Twitter via @KenCenerelli.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: