Text & encoding · Practical guide

Make a piece of text ready for the web

Count it, check the changes, then escape it for the right context.

1. Check the length

Count words and code points before editing. Character limits on other platforms may count grapheme clusters or UTF-16 units instead.

Open Word & character counter ↗

2. Review your changes

Compare the original with your revision. Look for accidental removals, repeated lines and whitespace changes before copying the final text.

Open Text difference checker ↗

3. Escape for HTML text

Escape reserved characters if the text will be inserted into HTML text content. Do not use this as a universal sanitizer for URLs, scripts or attributes. For a URL query value, use URL component encoding instead.

Open HTML entity converter ↗
Tool links open a fresh workspace. Inputs are not transferred between pages. For supported text operations, the private workbench offers explicit transfers in memory.

Find your next tool

JSON formatterCode & dataCSV ↔ JSONCode & dataSQL formatterCode & dataBase64 encoder / decoderText & encodingURL encoder / decoderText & encodingHTML entity converterText & encodingText difference checkerText & encodingWord & character counterText & encodingText case converterText & encodingUUID generatorCode & dataUnix timestamp converterTime & numbersPercentage calculatorTime & numbersXML formatter & validatorCode & dataHTML formatterCode & dataCSS formatter & minifierCode & dataJavaScript formatterCode & dataRegular expression testerCode & dataSHA hash generatorCode & dataNumber base converterTime & numbersData-size converterTime & numbersUnit converterTime & numbersDate difference calculatorTime & numbersTime-zone converterTime & numbersLine toolsText & encodingImage resizerImage & designImage compressorImage & designImage format converterImage & designFavicon generatorImage & designColour converter & pickerImage & designColour contrast checkerImage & designQR-code generatorImage & designDiscount calculatorTime & numbers

Tab or arrow keys to explore · Enter to open · Esc to close