: Use the command \textdegree (requires the textcomp package) or ^{\circ} in math mode.

: Use the Unicode escape sequence \u00b0 (e.g., print("90\u00b0") ) or the character name \N{DEGREE SIGN} . JavaScript : You can use the Unicode string \u00B0 .

: Use the entity ° or the decimal code ° for maximum browser compatibility.

: Use the escaped hex value \00B0 within a content property. General Keyboard Shortcuts Degree Symbol °