Code to Image – Share Screenshots of Your Code on Social Media

Want to screenshot your code snippets? Add some color, maybe a custom gradient background, and make it stand out on social media? This could be of interest, plus, you know, it’s free and all that.

A free tool to help you make screenshots of your code snippets

I’m not a coder, I wish I was. For those of you who are, sharing screenshots of code snippets on social media is a great way to showcase your abilities, and of course build a following.

Whether you’re looking for work on Twitter (or other social media platforms), and need to build an audience with juicy screenshots of code snippets to lure in potential employers.

Code To Image site
Code To Image

Or you just like to share things you’re working on, I’ve spotted this rather useful, and (might I add) totally free tool.

Built on WordPress, CodeToImage, enables budding developers to share screenshots of their code, as a downloadable image. Pretty cool right?

While that sounds short and sweet, not unlike this blog post. There’s a bit more to it, than just downloading an image of your code.

Over 60 code box styles available

Yes, you read that right, there are over 60 styles for the code box, varying from light, to dark and everything in between.

Example one:

material example of code box
material example of code box

Example two:

eclipse example of code box
eclipse example of code box

Languages supported

Currently, there is support for JavaScript, CSS, SQL, Swift and Go. Each code snippet will highlight the specific elements of code, depending on the language selected.

Adding code

Adding code, is a simple affair. Simply click in the box, and add your code. That’s it. Take a look at the below GIF for an example, as well as enabling the option to display window controls.

editing / adding your own code
editing / adding your own code

Colors and gradients, fancy stuff

If you’d like to make your code snippet stand out, there’s a handy color wheel, choose a complimentary color, or if you’d like a custom gradient, you’re catered for as well:

Example of gradient and color
Example of gradient and color

Add some padding and export

Need more space for your snippet? Clicking on the gear icon allows you to do just that, as well as turn the windows control, on or off:

Adding padding and export

Once you’re happy with your result, export as a JPG, PNG, or copy to your clipboard. A nice, simple and easy to use tool, so next time you need to share an screenshot of some code, check out Code to Image.

Facebook
Twitter
LinkedIn
Email
Hey I’m Ben, I love writing about WordPress, reviewing themes, plugins and offering tutorials. Want to connect? Follow me on Twitter!

Table of Contents

2 Comments

    • No worries, a useful tool, hence why it’s in the useful tools category 👍😀

      I like it and can see how it could help others!

Leave a Reply

Your email address will not be published.