SaafKit

Change the case of your text

Fix a headline someone typed in capitals, turn a title into a URL slug, or convert a label into the naming convention your code uses.

  • Runs in your browser
  • Nothing uploaded
  • No account
  • No watermark
  • Free

How to case converter

  1. Paste your text in.
  2. Choose the case you want.
  3. Copy the result.

Title case is not capitalising everything

These two options differ and the difference matters in published writing.

Capitalise Every Word puts a capital on every word including the small ones. It is simple and it is wrong in most style guides.

Title Case capitalises the significant words and leaves short articles, conjunctions and prepositions in lower case, unless they begin the title. So you get The Rise of the Machines rather than The Rise Of The Machines. That is what newspapers, publishers and most style guides mean by title case.

Slugs for URLs

Kebab case is what you want for a web address: lower case, words joined by hyphens, nothing else. Google has been clear that hyphens separate words in a URL and underscores do not, so remove-background-from-image reads as four words to a search engine while remove_background_from_image reads as one.

Keep slugs short and descriptive, three to five words. Drop the small words that carry no meaning. And once a URL is published, leave it alone, because changing it costs you whatever that page had earned.

The code conventions

ConventionLooks likeUsually used for
camelCasebackgroundColourVariables and functions in JavaScript and Java
PascalCaseBackgroundColourClasses, components and types
snake_casebackground_colourPython, Ruby, and column names in SQL
kebab-casebackground-colourCSS properties, URLs and filenames

Questions

What is the difference between title case and capitalising every word?

Title case leaves short words such as of, the and and in lower case unless they start the title. Capitalising every word capitalises all of them, which most style guides consider incorrect.

How do I turn a headline into a URL slug?

Choose kebab for URLs. It lowercases everything, joins the words with hyphens and strips the punctuation.

Should a URL use hyphens or underscores?

Hyphens. Search engines treat a hyphen as a word separator and an underscore as a joiner, so hyphens make the individual words readable.

Does sentence case fix text typed in all capitals?

Yes. It lowercases everything and then capitalises the first letter of each sentence.

The rest of the toolkit

Every one of these runs on your own device. Nothing is uploaded, and there is no counter anywhere.

Image tools

Remove a backgroundCut the background out of any photo and get a transparent PNG.Compress an imageDrop a photo in, slide the quality until the saving looks right, and download.Resize an imageSet a width and the height follows, or lock both to a size something else demands and choose whether the image fills the box or fits inside it.Convert a formatPick the format the next tool in your workflow expects.Crop an imageDrag across the image to choose the area you want.Circle cropMake a round profile picture with a genuinely transparent corner, so it sits properly on any background rather than showing a white square.Rotate or flipTurn a photo that came out sideways, straighten a horizon that is slightly off, or mirror an image so a subject faces the other way.Add a watermarkPut your name, studio or web address onto an image before you send a proof out.Images to PDFDrop in photos or scans and get one PDF with a page for each.Favicon generatorOne image in, a zip out with every size a browser asks for, the legacy ICO file, the Apple touch icon, a web manifest and the HTML to paste into your head.Palette from an imageGet the colours that actually dominate a photograph, ordered by how much of the image they cover, and copy any of them in the format you need.Image to Base64Turn a small image into text you can paste straight into CSS, HTML, an email template or a JSON payload, with no separate file to host.Passport photoChoose the country, frame your face in the box, and get a correctly sized photo at print resolution.Split an imageCut one picture into equal tiles.Add a borderPut a frame around an image.

Text and generators