William IV of the United Kingdom has been featured in artworks.
In Patrick O'Brian's final novel of the Aubrey-Maturin series, Captain Jack Aubrey is obliged to accept as midshipman a bastard son of the Duke of Clarence, as a "first voyager". The novel paints a colourful picture of the Duke and acknowledges his reputation as a competent seaman and commander. However, in other novels in the series, the Duke is portrayed in a far less flattering light; indeed, in the penultimate novel of the series, one of the protagonists - Stephen Maturin - characterizes him as "...a bounding, confident, foul-mouthed scrub".
Bernard Bastable's "Mozart Mysteries" - Dead, Mr. Mozart and Too Many Notes, Mr. Mozart - involve an alternate version of Wolfgang Mozart who survives in the 1820s and has settled in England, where odd circumstances draw him into Hanoverian intrigue and cover-ups. William IV is a major character in the second book, where he effectively makes Mozart his personal spy against rival factions within the royal family.
On screen, William has been portrayed as king by Ernst G. Schiffner in the 1936 German film Mädchenjahre einer Königin, based on the play by Geza Silberer about Queen Victoria's early life, Peter Ustinov in the 2001 TV miniseries Victoria and Albert and by Jim Broadbent in the 2009 film The Young Victoria. He has been depicted as a prince by Scott Forbes in Mrs. Fitzherbert (1947), Tom Gill in The First Gentleman (1948) and Toby Jones in Amazing Grace (2006) - in the most recent of these, he is incorrectly (when still a prince) seen sitting in the House of Commons.