</>DevSnippets

Your code snippets, organized.

Save the bits of code you keep searching for. Categorize them, highlight them, and hide the sensitive ones.

getUser.tsTypeScript
export async function getUser(id: string) {
  const user = await db.user.findUnique({ where: { id } });
  return user ?? null;
}

Syntax highlighting

30 languages, detected automatically or picked by hand.

Categories

Group snippets into color-coded categories and filter by them.

Hidden snippets

Keep secrets blurred and off the page until you click to reveal.