Text Tools
- Add Prefix or Suffix
- Remove Line Breaks & Spaces
- Flip & Reverse Text
- String Builder
- Encode HTML
- Decode HTML
- Encode Base64
- Decode Base64
- Encode URL
- Decode URL
- String to Hex
- Hex to String
- String to Binary
- Binary to String
- Case Converter
- Remove Accents
- Remove Duplicate Lines
- Remove Empty Lines
- Remove Lines Containing
- Sort Lines
- Find & Replace
- Remove Punctuation
- Remove Duplicate Words
- Join Text
- Repeat Text
- Pick Random Line
- Add Line Breaks
- Text to Morse
- Morse to Text
- Extract Text from HTML
- Split Text
- Vertical Align Text
- Extract Regex Matches
- Center Text
- Right Align Text
- Left/Right Text Rotate
- Check Palindrome
- Convert Spaces to Tabs
- Truncate Text
- Text to Image
- Text to PDF
Input Text
Output Text
Encode HTML to String
How to Convert HTML to Encoded String
- Enter HTML in input text area.
- Click on Show Output button to generate encoded HTML
Uses
- for using HTML as string for preview
- safe parsing of html code
Examples
If you input data
<div class="className">
<h3>Hello World</h3>
<p class="paragarph">Hello</p>
</div>
the output would be:
<div class="className">
<h3>Hello World</h3>
<p class="paragarph">Hello</p>
</div>