Turn code into a video

Turn a code snippet into a short MP4. Pick how the code appears, set the timing and frame size, then export.

100%
4.2s / 8.2s

Features

What Code to video can do

Code

  • 27 languages

    Pick the language for syntax highlighting, or let an imported file set it.

  • Formatting

    Tidy the code with Prettier before you animate it.

  • Import a file

    Open a source file, like .ts, .py or .go. The language and file name are set from it.

  • Your Gists

    Signed in, search and load code you saved to your Gists.

  • Zoom

    Scale the window inside the frame, up to the padding. The video follows.

Animation

  • Four presets

    Typing, Line by line, Fade in, or Highlight lines.

  • Highlight steps

    For Highlight lines, add steps and click line numbers to pick which lines each step shows.

  • Typing style

    Natural types with small pauses like a person. Steady types at an even pace. Show or hide the blinking cursor.

  • Speed

    Slow, Normal or Fast.

  • End hold

    Keep the last frame on screen for 0.5, 1, 2 or 3 seconds.

  • Timeline

    Play, pause and click the timeline to jump to any moment. The length and frame size are shown next to it.

Look

  • 27 themes

    18 editor themes, like Dracula, One Dark, Nord and GitHub Light, and 9 canvas themes, like Nebula and Ocean. Search them by name.

  • Four sizes

    16:9 at 1920×1080, 1:1 at 1080×1080, 4:5 at 1080×1350 and 9:16 at 1080×1920.

  • Padding and window

    Padding of 0, 16, 32 or 64 px, and a macOS, Windows or no window frame, with an optional file name you can edit.

  • 11 code fonts

    JetBrains Mono, Fira Code, Source Code Pro, IBM Plex Mono, Cascadia Code and six more, at 12 to 48 px.

  • Line numbers

    Turn line numbers on or off, and show hidden characters like tabs and spaces.

  • Background

    A pattern behind the frame: dots, grid, lines or glow.

  • Background image Pro

    Upload a PNG, JPEG or WebP up to 8 MB to sit behind the code.

  • Social handle

    Add your X, GitHub, LinkedIn, Instagram or YouTube handle at the bottom left, and a small snipsco.com label at the bottom right if you want one.

Export and share

  • MP4 Pro

    H.264 at 30 fps, at the frame size you picked, with a progress bar you can cancel.

  • GIF Pro

    A looping GIF at 15 fps and up to 1280 px wide, small enough for a README or a Slack thread.

  • Publish the video Pro

    Make a public snipsco.com page that plays the video, with the code as text below it.

  • Share Pro

    Send the MP4 to an app through your device's share menu, where the browser supports it.

  • Edit as image

    Open the same code and style in Code to image to export a still PNG.

How to make a code video

  1. 01

    Paste your code

    Paste a snippet and pick a theme.

  2. 02

    Pick how it appears

    Typing, line by line, fade, or highlight. Then set the timing and the frame size.

  3. 03

    Export

    Export an MP4, or a GIF for READMEs.

FAQ

Questions