Hans Christian Andersen was born in Odense, Denmark, on Tuesday, April 2, 1805. Most English (as well as German and French) sources use the name "Hans Christian Andersen", but in Denmark and the rest of Scandinavia he is usually referred to as merely "H. C. Andersen." His name "Hans Christian" is a traditional Danish name and is used as a single name, though originally a combination of two individual names. It is incorrect to use only one of the two parts without the other. It is an accepted custom in Denmark to use only the initials in this and a few other names.Andersen's father apparently believed that he might be related to nobility, and according to scholars at the Hans Christian Andersen Center, his paternal grandmother told him that the family had once been in a higher social class. However, investigation proves these stories were unfounded. The family apparently did have some connections to Danish royalty, but these were only work-related. Nevertheless, the theory that Andersen was the illegitimate son of royalty continues to persists in Denmark, bolstered by the fact that the Danish king at the time took a personal interest in Andersen as a youth and paid for his education.<citation needed> The writer Rolf Dorset insists that not all options have been explored in determining Andersen's ancestry.
Andersen displayed great intelligence and imagination as a young boy, traits that were fostered by the indulgence of his parents and by the superstition of his mother. He made himself a small toy-theatre and sat at home making clothes for his puppets, and reading all the plays that he could lay his hands upon; among them were those of Ludvig Holberg and William Shakespeare. Throughout his childhood, he had a passionate love for literature. He was known to memorize entire plays by Shakespeare and to recite them using his wooden dolls as actors.
In 1816, his father died in a fire and, in order to support himself, Andersen worked as an apprentice for both a weaver and a tailor. He later worked in a cigarette factory where his fellow workers humiliated him by betting on whether he was in fact a girl, pulling down his trousers to check. At the age of fourteen, Andersen moved to Copenhagen seeking employment as an actor in the theatre. He had a pleasant soprano voice and succeeded in being admitted to the Royal Danish Theatre. This career stopped short when his voice broke. A colleague at the theatre had referred to him as a poet, and Andersen took this very seriously and began to focus on writing.Following an accidental meeting, Jonas Collin started taking an interest in the odd boy and sent Andersen to the grammar school in Slagelse, paying all his expenses. Before even being admitted to grammar-school, Andersen had already succeeded in publishing his first story, The Ghost at Palnatoke's Grave in 1822. Though an unwilling pupil, Andersen studied both in Slagelse and at a school in Elsinore until 1827. He later stated that these years had been the darkest and most bitter parts of his life. He had experienced living in his schoolmaster's own home, being abused in order to "build his character", and he had been alienated from his fellow students, being much older than most of them, homely and unattractive. Furthermore, he was dyslexic, a very likely reason for his learning difficulties and he later said that the school faculty forbade or discouraged him to write.<citation needed> He would later learn to speak near fluent English, Dutch, and German, as well as the Scandinavian languages.
In June 1847, Andersen paid his first visit to England and enjoyed a triumphal social success during the summer. The Countess of Blessington invited him to her parties where intellectual and famous people could meet, and it was at one party that he met Charles Dickens for the first time. They shook hands and walked to the veranda which was of much joy to Andersen. He wrote in his diary "We had come to the veranda, I was so happy to see and speak to England's now living writer, whom I love the most.
Ten years later, Andersen visited England, primarily to visit Dickens. He stayed at Dickens' home for five weeks, oblivious to Dickens' increasingly blatant hints for him to leave. Dickens' daughter said of Andersen, "He was a bony bore, and stayed on and on.
Shortly after Andersen left, Dickens published David Copperfield, featuring the obsequious Uriah Heep, who is said to have been modeled on Andersen. Andersen quite enjoyed the visit, and never understood why Dickens stopped answering his letters.