Free · No account · Works offline

Look it up by what you’re trying to do

SyntaxShelf is a free code cheat sheet for developers, indexed by task instead of API name: type “undo last commit” or “center a div” and copy the answer from Git, JavaScript, Python, SQL, Bash, Docker, React and more. No account, and it works offline.

Press slash or Command-K to focus search. Press Escape to clear it.

Try:
1,271copy-ready snippets
11stacks covered
152sections
0trackers or sign-ups

Browse stacks

Or browse by task, not by language

The same job - reverse a string, check whether a file exists - solved side by side in every stack that has an answer for it.

Browse tasks A-Z