Dev Resources
Ray.so favicon

Ray.so

Code Snippet

Turn your code into beautiful images. Choose from a range of syntax colors, hide or show the background, and toggle between a dark and light window.

Ray.so's website screenshot

About Ray.so

Ray.so is a tool for generating styled images of code snippets. Users paste or write code, which is rendered with syntax highlighting and can be customized with theme selection, background on/off, dark mode, line numbers, padding options, and language selection (with auto-detect). The output is an exportable image.

It is built by Raycast and is aimed at developers who want to share formatted code snippets, such as for social media, documentation, or presentations.

Key features

  • Generate shareable images of code snippets
  • Syntax highlighting with auto-detected language
  • Multiple background themes
  • Toggle dark mode
  • Optional line numbers
  • Adjustable padding (16, 32, 64, 128)

Frequently asked questions

What is Ray.so used for?

It creates styled, shareable images of code snippets. It is built by Raycast.

Does it support syntax highlighting for different languages?

Yes, it detects the language automatically, as shown with the Swift example.

Can I customize the appearance of the code image?

Yes, you can choose a background theme, toggle dark mode, show or hide line numbers, and set padding to 16, 32, 64, or 128.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product

You might also like